summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2013-11-18 14:54:26 -0500
committerJune McEnroe <june@causal.agency>2013-11-18 14:54:26 -0500
commitb0dd29ce0a7d09793456645e9319295002cc2b9d (patch)
tree0ea5030acbee612a92d3261365713264eed548b8
parentRemove useless syntastic option (diff)
downloadsrc-b0dd29ce0a7d09793456645e9319295002cc2b9d.tar.gz
src-b0dd29ce0a7d09793456645e9319295002cc2b9d.zip
Only set title in xterm
-rw-r--r--.zsh/title.zsh2
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 {