diff options
author | David Runge <dave@sleepmap.de> | 2015-04-24 22:45:11 +0200 |
---|---|---|
committer | David Runge <dave@sleepmap.de> | 2015-04-24 22:45:11 +0200 |
commit | 5e410f2a974c6c16d66493b4697fbc8d6702537e (patch) | |
tree | 889d294ae7c7297745ff38347b4b9895d4e141e9 | |
parent | 3899ffbdea1c8e04717ae6ae98f427ec0add2def (diff) | |
download | dotfiles-5e410f2a974c6c16d66493b4697fbc8d6702537e.tar.gz dotfiles-5e410f2a974c6c16d66493b4697fbc8d6702537e.tar.bz2 dotfiles-5e410f2a974c6c16d66493b4697fbc8d6702537e.tar.xz dotfiles-5e410f2a974c6c16d66493b4697fbc8d6702537e.zip |
.zsh.after/export.zsh: Export different TERM variable when in tmux.
-rw-r--r-- | .zsh.after/export.zsh | 6 |
1 files changed, 5 insertions, 1 deletions
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 |