aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2018-09-13 19:02:25 +0200
committerDavid Runge <dave@sleepmap.de>2018-09-13 19:02:25 +0200
commitf383ea1983e6458ca4a5b59192ec5f87e8d57387 (patch)
tree8d11e9e7e9c66c6b341bb35135115e47c14d02b9
parentca25cf5a1758bec3f71d641515b67bfd1f1eca9d (diff)
downloaddotfiles-f383ea1983e6458ca4a5b59192ec5f87e8d57387.tar.gz
dotfiles-f383ea1983e6458ca4a5b59192ec5f87e8d57387.tar.bz2
dotfiles-f383ea1983e6458ca4a5b59192ec5f87e8d57387.tar.xz
dotfiles-f383ea1983e6458ca4a5b59192ec5f87e8d57387.zip
.zsh.after/export.zsh: Don't use tmux-256color in tmux on Debilian because it's too old.
-rw-r--r--.zsh.after/export.zsh3
1 files changed, 1 insertions, 2 deletions
diff --git a/.zsh.after/export.zsh b/.zsh.after/export.zsh
index 921401d..54d78ab 100644
--- a/.zsh.after/export.zsh
+++ b/.zsh.after/export.zsh
@@ -1,5 +1,4 @@
-# use xterm-color anywhere. Sane default for color and termite
-if [[ -n $TMUX ]] && [[ $VENDOR != "apple" ]];then
+if [[ -n $TMUX ]] && [[ $VENDOR != "apple" ]] && [[ ! -e /etc/debian_version ]]; then
export TERM="tmux-256color"
elif [[ -n $STY ]];then
export TERM="screen-256color"