aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zsh.after/export.zsh6
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