From c2ad403e616903aa4aab29a653a161d1e58ac827 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Thu, 4 Jun 2015 09:26:16 +1200 Subject: Unset COLORTERM inside tmux --- tmux/tmux.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tmux') 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 -- cgit v1.2.3