check for st's terminfo if we're set to st and alter to xterm if missing
This commit is contained in:
parent
4c60f54aa1
commit
66166e0b1b
1 changed files with 6 additions and 0 deletions
6
zshrc
6
zshrc
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue