mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-04-13 09:30:06 +00:00
only do terminal magic if we have infocmp
This commit is contained in:
parent
10d017a3c0
commit
c04f430760
1 changed files with 28 additions and 26 deletions
|
@ -48,6 +48,7 @@ fix_terminfo_db ()
|
|||
fi
|
||||
}
|
||||
|
||||
if ( command -v infocmp >/dev/null 2>&1 ) ; then
|
||||
# terminal surgery
|
||||
case `uname -s` in
|
||||
Interix)
|
||||
|
@ -77,3 +78,4 @@ case $TERM in
|
|||
alias screen="screen -T `fix_term screen-256color-bce`"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue