Check if we have st terminfo; change to xterm if we don't

This commit is contained in:
Howland Owl 2016-10-25 09:12:06 +03:00
parent 401bec6b93
commit 14f115f6b3

6
zshrc
View file

@ -12,6 +12,12 @@ if [ -x /usr/bin/xset ]; then
xset -b xset -b
fi fi
if [[ ${TERM} == st* ]]; then
if [ ! -e /usr/share/terminfo/s/st-256color ]; then
export TERM=xterm-256color
fi
fi
unsetopt beep unsetopt beep
bindkey -e bindkey -e
export LESS="-X -R -F" export LESS="-X -R -F"