fix tmux again

master
Paul Walko 2017-11-18 23:26:51 -05:00
parent 880b4ea571
commit 3a83ba6f74
1 changed files with 2 additions and 10 deletions

8
zshrc
View File

@ -2,17 +2,9 @@
## Set TERM for proper colors ## Set TERM for proper colors
if [[ -z $TMUX ]]; then if [[ -z $TMUX ]]; then
if [ -e /usr/share/terminfo/x/xterm-256color ]; then # may be xterm-256 depending on your distro
export TERM='xterm-256color' export TERM='xterm-256color'
else else
export TERM='xterm'
fi
else
if [ -e /usr/share/terminfo/s/screen-256color ]; then
export TERM='screen-256color' export TERM='screen-256color'
else
export TERM='screen'
fi
fi fi
### For local binaries (vim 8) ### For local binaries (vim 8)