fix tmux again
parent
880b4ea571
commit
3a83ba6f74
8
zshrc
8
zshrc
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue