diff options
author | June McEnroe <programble@gmail.com> | 2013-11-18 14:54:26 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2013-11-18 14:54:26 -0500 |
commit | 1c856bd257b79e1f5fde1ad19c72a92fce79863f (patch) | |
tree | bfb2038096e194760891ff3315fa3797c59a0454 /.zsh/title.zsh | |
parent | Remove useless syntastic option (diff) | |
download | src-1c856bd257b79e1f5fde1ad19c72a92fce79863f.tar.gz src-1c856bd257b79e1f5fde1ad19c72a92fce79863f.zip |
Only set title in xterm
Diffstat (limited to '')
-rw-r--r-- | .zsh/title.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.zsh/title.zsh b/.zsh/title.zsh index 0307b57c..7f4d1bac 100644 --- a/.zsh/title.zsh +++ b/.zsh/title.zsh @@ -1,5 +1,5 @@ function _title { - print -Pn "\033]0;$@\a" + [[ "$TERM" =~ "xterm" ]] && print -Pn "\033]0;$@\a" } function title { |