treat xterm-256color like xterm.
This commit is contained in:
parent
d5dd460ea3
commit
c562825f3a
|
@ -23,7 +23,7 @@ then
|
||||||
stty erase
|
stty erase
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ .$TERM. = .xterm. ]]
|
if [[ $TERM = xterm || $TERM = xterm-256color ]]
|
||||||
then
|
then
|
||||||
# indicated exit status by smiley (suggested by Stig Sandbeck Mathisen)
|
# indicated exit status by smiley (suggested by Stig Sandbeck Mathisen)
|
||||||
smiley="%b%(0?,%{[32m%}:-),%{[31m%}:-()%{[30m%}%B"
|
smiley="%b%(0?,%{[32m%}:-),%{[31m%}:-()%{[30m%}%B"
|
||||||
|
|
Loading…
Reference in New Issue