From 5e410f2a974c6c16d66493b4697fbc8d6702537e Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 24 Apr 2015 22:45:11 +0200 Subject: .zsh.after/export.zsh: Export different TERM variable when in tmux. --- .zsh.after/export.zsh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh index 5b485de..33774c1 100644 --- a/.zsh.after/export.zsh +++ b/.zsh.after/export.zsh @@ -1,7 +1,11 @@ # using termite now # use xterm-color anywhere. Sane default for color and termite -export TERM=xterm-color +if [[ -n $TMUX ]];then + export TERM="screen-256color" +else + export TERM="xterm-color" +fi # use de_DE.UTF-8 to get 24h format export LC_TIME=de_DE.UTF-8 -- cgit v1.2.3-70-g09d2