diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-04 09:26:16 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2015-06-04 09:26:16 +1200 |
commit | c2ad403e616903aa4aab29a653a161d1e58ac827 (patch) | |
tree | 45845d3ce4feb01433990c42a302415324426182 /tmux | |
parent | Add a few missing Bash keywords (diff) | |
download | dotfiles-c2ad403e616903aa4aab29a653a161d1e58ac827.tar.gz dotfiles-c2ad403e616903aa4aab29a653a161d1e58ac827.zip |
Unset COLORTERM inside tmux
Diffstat (limited to 'tmux')
-rw-r--r-- | tmux/tmux.conf | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux/tmux.conf b/tmux/tmux.conf index 5eb9881b..00c7cb56 100644 --- a/tmux/tmux.conf +++ b/tmux/tmux.conf @@ -15,8 +15,10 @@ set-option -g update-environment 'SSH_CLIENT SSH_CONNECTION' # create login shells set-option -g default-command "$SHELL" -# All of my terminals are 256 colors, so use the appropriate termcap/terminfo +# All of my terminals are 256 colors, so use the appropriate termcap/terminfo, +# and unset COLORTERM to stop programs getting confused set-option -g default-terminal 'screen-256color' +set-environment -gru COLORTERM # Change the prefix to ^A rather than the default of ^B, because I'm a godless # GNU Screen refugee, and also I like using ^B in my shell and in Vim more |