normalize this case stuff

This commit is contained in:
David Alexander Majnemer 2008-11-26 02:11:10 -06:00
parent 48be7f8718
commit 20d5cd73f9

9
zshrc
View file

@ -262,17 +262,20 @@ preexec()
function title
{
if [[ $TERM == screen* ]]; then
case $TERM in
screen*)
# Use these two for GNU Screen:
print -nR $'\ek'$1$'\e'"\\"
shift
# print -nR $'\e]0;'$*$'\a'
print -nR $'\e_screen \005 | '$*$'\e'"\\"
elif [[ $TERM == xterm* || $TERM == rxvt* ]]; then
;;
xterm*|rxvt*|cygwin)
# Use this one instead for XTerms:
shift
print -nR $'\e]0;'$@$'\a'
fi
;;
esac
}
# completion menu