Compare commits

..

No commits in common. "026e709be0caa6feb5c3bc322fb2479267718358" and "871ff06f4ce69265f659024cbf668aa8987be8ad" have entirely different histories.

1 changed files with 1 additions and 16 deletions

View File

@ -23,26 +23,11 @@ then
stty erase  stty erase 
fi fi
if [[ $TERM == xterm-256color && ! -f /usr/share/terminfo/x/xterm-256color && ! -f /lib/terminfo/x/xterm-256color ]] if [[ $TERM == xterm-256color && ! -f /usr/share/terminfo/x/xterm-256color ]]
then then
TERM=xterm TERM=xterm
fi fi
if [[ $TERM == xterm ]]
then
for t in xterm-256color
do
for dir in /usr/share/terminfo/x /lib/terminfo/x/
do
if [[ -f $dir/$t ]]
then
TERM=$t
break 2
fi
done
done
fi
case "$TERM" in case "$TERM" in
xterm*|screen) xterm*|screen)
# indicated exit status by smiley (suggested by Stig Sandbeck Mathisen) # indicated exit status by smiley (suggested by Stig Sandbeck Mathisen)