diff options
author | Matt Cable <wozz@wookie.net> | 2011-03-13 17:10:13 -0600 |
---|---|---|
committer | Matt Cable <wozz@wookie.net> | 2011-03-13 17:11:32 -0600 |
commit | d4ea399b04ef57dd31097eadc316305d1e42a194 (patch) | |
tree | 899e96d8e5664fc02f461cb1ede65fd6f2d8723c /lib | |
parent | 746a10368acd38d80cd35c2b97202a9187d58a05 (diff) | |
download | zsh-d4ea399b04ef57dd31097eadc316305d1e42a194.tar.gz zsh-d4ea399b04ef57dd31097eadc316305d1e42a194.tar.bz2 zsh-d4ea399b04ef57dd31097eadc316305d1e42a194.zip |
Re-order title/tab setting to make window titles work on OSX terminal which
doesn't support tabs titles.
Diffstat (limited to 'lib')
-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 e1e536690..2843eb075 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -6,8 +6,8 @@ function title { if [[ "$TERM" == "screen" ]]; then print -Pn "\ek$1\e\\" #set screen hardstatus, usually truncated at 20 chars elif [[ ($TERM =~ "^xterm") ]] || [[ ($TERM == "rxvt") ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then - print -Pn "\e]2;$2\a" #set window name print -Pn "\e]1;$1\a" #set icon (=tab) name (will override window name on broken terminal) + print -Pn "\e]2;$2\a" #set window name fi } |