diff options
-rw-r--r-- | zshrc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -95,14 +95,15 @@ case $TERM in xterm*) precmd() { title=$TITLE - print -Pn "\e]2;$title\a\e]1;\a" + #print -Pn "\e]2;$title\a\e]1;\a" + print -Pn "\033]0;$title\007" }; preexec() { title="$1 [$TITLE]" title=`echo $title | tr '\n' ' '` - print -Pn "\e]2;$title\a\e]1;\a" + #print -Pn "\e]2;$title\a\e]1;\a" + print -Pn "\033]0;$title\007" }; - ;; screen*) if [ -x /usr/bin/screen ] || [ -x /usr/local/bin/screen ]; then if grep -i -q screen <<< $TERMCAP ; then |