Check if we have st terminfo; change to xterm if we don't
This commit is contained in:
parent
401bec6b93
commit
14f115f6b3
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
|
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"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue