From b0dd29ce0a7d09793456645e9319295002cc2b9d Mon Sep 17 00:00:00 2001 From: June 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(-) (limited to '.zsh/title.zsh') 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