summary refs log tree commit diff
path: root/.zsh/title.zsh
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/title.zsh')
-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 {