aboutsummaryrefslogtreecommitdiff
path: root/tmux
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
parent4ea3794402a2ac07e69ef6df1c415a5c08474b2d (diff)
downloaddotfiles-c2ad403e616903aa4aab29a653a161d1e58ac827.tar.gz
dotfiles-c2ad403e616903aa4aab29a653a161d1e58ac827.zip
Unset COLORTERM inside tmux
Diffstat (limited to 'tmux')
-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