]> git.draconx.ca Git - zshconf.git/commitdiff
Fix up zshrc for TERM=rxvt-unicode-256color
authorNick Bowler <nbowler@elliptictech.com>
Fri, 28 Jan 2011 16:07:43 +0000 (11:07 -0500)
committerNick Bowler <nbowler@elliptictech.com>
Fri, 28 Jan 2011 16:08:08 +0000 (11:08 -0500)
zshrc

diff --git a/zshrc b/zshrc
index caf5805b784d1ece8818f10f3c693294ea648699..a3a6a47bbab6fa4f72dd193ec338fdda519820d7 100644 (file)
--- a/zshrc
+++ b/zshrc
@@ -17,7 +17,7 @@ bindkey -e
 
 case $TERM in
 rxvt*)
-       if [[ $TERM == rxvt-unicode ]]; then
+       if [[ $TERM =~ '^rxvt-unicode' ]]; then
                [[ -z $COLORTERM ]] && export COLORTERM='rxvt-xpm'
                [[ -z $COLORFGBG ]] && export COLORFGBG='15;default;0'
        fi