check for st's terminfo if we're set to st and alter to xterm if missing

This commit is contained in:
Howland Owl 2016-10-25 09:10:20 +03:00
parent 4c60f54aa1
commit 66166e0b1b

6
zshrc
View file

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