]> git.draconx.ca Git - zshconf.git/blobdiff - zshrc
Fix up zshrc for TERM=rxvt-unicode-256color
[zshconf.git] / 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