Fixed tmux remote colors

This commit is contained in:
Fergal Moran
2017-04-25 19:57:06 +00:00
parent c0c28fd6fd
commit 5972fae1c3
2 changed files with 5 additions and 2 deletions

View File

@@ -63,5 +63,4 @@ if type "$docker" > /dev/null; then
alias dc='docker-compose'
alias docker-rm-untagged='docker rmi -f $(docker images | grep "^<none>" | awk "{print $3}")'
fi
alias tmux='tmux attach || tmux'
alias tmux="TERM=screen-256color-bce tmux attach || TERM=screen-256color-bce tmux"

View File

@@ -89,6 +89,10 @@ set -g pane-active-border-fg colour51
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
set -g default-terminal "screen-256color"
set-window-option -g mode-mouse on
set-option -g mode-mouse on
set-option -g mouse-select-pane on
set-option -g mouse-resize-pane on
# }