From dcabadbd07effeb3e7aacd61bfce27e0d8898d37 Mon Sep 17 00:00:00 2001 From: Christopher Chow Date: Fri, 29 Oct 2010 20:41:38 +1100 Subject: [PATCH] Changed conditional to something that zsh recognizes. --- lib/functions.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.zsh b/lib/functions.zsh index e3c0de43e..4a13a6915 100644 --- a/lib/functions.zsh +++ b/lib/functions.zsh @@ -5,7 +5,7 @@ function title { print -nR $'\033k'$1$'\033'\\\ print -nR $'\033]0;'$2$'\a' - elif [[ ($TERM =~ "^xterm") ]] || [[ ($TERM == "rxvt") ]]; then + elif [[ ($TERM == "^xterm") ]] || [[ ($TERM == "rxvt") ]]; then # Use this one instead for XTerms: print -nR $'\033]0;'$*$'\a' fi