Compare commits
No commits in common. "471701393938d18fbf003977f0cc6cb7b3a30999" and "411686c795385ff005711c1979183665f7799506" have entirely different histories.
4717013939
...
411686c795
17
.znewterm
17
.znewterm
|
@ -23,26 +23,11 @@ then
|
|||
stty erase
|
||||
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
|
||||
TERM=xterm
|
||||
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
|
||||
xterm*|screen)
|
||||
# indicated exit status by smiley (suggested by Stig Sandbeck Mathisen)
|
||||
|
|
Loading…
Reference in New Issue