aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'tmux/tmux.conf')
-rw-r--r--tmux/tmux.conf4
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