Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'osx-terminal-title' of https://github.com/curiousstrang…

…er/oh-my-zsh into curiousstranger-osx-terminal-title
  • Loading branch information...
commit fce2733fe91b07da55bf9136e4cd42adc3d6ad3a 2 parents bafa8cd + d4ea399
@robbyrussell robbyrussell authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/termsupport.zsh
View
2  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
}
Please sign in to comment.
Something went wrong with that request. Please try again.