aboutsummaryrefslogtreecommitdiff
path: root/tmux/tmux.conf
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2015-06-04 09:26:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2015-06-04 09:26:16 +1200
commitc2ad403e616903aa4aab29a653a161d1e58ac827 (patch)
tree45845d3ce4feb01433990c42a302415324426182 /tmux/tmux.conf
parentAdd a few missing Bash keywords (diff)
downloaddotfiles-c2ad403e616903aa4aab29a653a161d1e58ac827.tar.gz
dotfiles-c2ad403e616903aa4aab29a653a161d1e58ac827.zip
Unset COLORTERM inside tmux
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