From 1c856bd257b79e1f5fde1ad19c72a92fce79863f Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 18 Nov 2013 14:54:26 -0500 Subject: Only set title in xterm --- .zsh/title.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit 1.4.1