diff options
author | Marc Cornellà <marc.cornella@live.com> | 2015-12-01 00:05:17 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2015-12-01 00:05:17 +0100 |
commit | b457ae2501220e80490ecf7ae42e5610b61b75e4 (patch) | |
tree | 1cc0be2da29ef791c247c4992cc1fff1b5ba24d9 /lib/termsupport.zsh | |
parent | f7ed7244c23b5c9dab14ea40aa326049ca0911d9 (diff) | |
parent | d55111f2003aa474bb5045638cdd5141ae8309da (diff) | |
download | zsh-b457ae2501220e80490ecf7ae42e5610b61b75e4.tar.gz zsh-b457ae2501220e80490ecf7ae42e5610b61b75e4.tar.bz2 zsh-b457ae2501220e80490ecf7ae42e5610b61b75e4.zip |
Merge pull request #4651 from ionelmc/patch-1
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..9750a9fe8 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 |