aboutsummaryrefslogtreecommitdiffstats
path: root/.zsh.after
diff options
context:
space:
mode:
Diffstat (limited to '.zsh.after')
-rw-r--r--.zsh.after/export.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index 74f1b41..dcc16b9 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -1,5 +1,7 @@
# use xterm-color anywhere. Sane default for color and termite
if [[ -n $TMUX ]];then
+ export TERM="tmux-256color"
+elif [[ -n $STY ]];then
export TERM="screen-256color"
else
export TERM="xterm-256color"