diff options
author | Ionel Cristian Mărieș <contact@ionelmc.ro> | 2015-11-30 15:16:47 +0200 |
---|---|---|
committer | Ionel Cristian Mărieș <contact@ionelmc.ro> | 2015-11-30 15:16:47 +0200 |
commit | 711c1bcb40483c862e62bbd4528474b9c8009a48 (patch) | |
tree | 78710893bbf6d25451b0a8f825d66fe8215f6e41 /lib/termsupport.zsh | |
parent | afd28bf1fc22f53c4a1af3f5836ca428affb34b3 (diff) | |
download | zsh-711c1bcb40483c862e62bbd4528474b9c8009a48.tar.gz zsh-711c1bcb40483c862e62bbd4528474b9c8009a48.tar.bz2 zsh-711c1bcb40483c862e62bbd4528474b9c8009a48.zip |
Add support for "putty" $TERM in termsupport.zsh
Diffstat (limited to 'lib/termsupport.zsh')
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index 4c5068e9b..4780be808 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -18,7 +18,7 @@ function title { if [[ "$TERM" == screen* ]]; then print -Pn "\ek$1:q\e\\" #set screen hardstatus, usually truncated at 20 chars - elif [[ "$TERM" == xterm* ]] || [[ "$TERM" == rxvt* ]] || [[ "$TERM" == ansi ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then + elif [[ "$TERM" == xterm* ]] || [[ "$TERM" == putty ]] || [[ "$TERM" == rxvt* ]] || [[ "$TERM" == ansi ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then print -Pn "\e]2;$2:q\a" #set window name print -Pn "\e]1;$1:q\a" #set icon (=tab) name fi |