diff options
author | Robby Russell <robby@planetargon.com> | 2011-03-16 08:01:29 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2011-03-16 08:01:29 -0700 |
commit | fce2733fe91b07da55bf9136e4cd42adc3d6ad3a (patch) | |
tree | 1eb476203103e04afe7a9c5eec274fd1a11d8e3e | |
parent | bafa8cd980336ea830ba6c9f84d1f94893de4def (diff) | |
parent | d4ea399b04ef57dd31097eadc316305d1e42a194 (diff) | |
download | zsh-fce2733fe91b07da55bf9136e4cd42adc3d6ad3a.tar.gz zsh-fce2733fe91b07da55bf9136e4cd42adc3d6ad3a.tar.bz2 zsh-fce2733fe91b07da55bf9136e4cd42adc3d6ad3a.zip |
Merge branch 'osx-terminal-title' of https://github.com/curiousstranger/oh-my-zsh into curiousstranger-osx-terminal-title
-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 } |