]> 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 9878649eb724c943e45d8394effaec0bf5c0d764..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
@@ -26,7 +26,7 @@ rxvt*)
        bindkey '\e[8~' end-of-line
        bindkey '\e[7~' beginning-of-line
 ;;
-screen*|linux)
+screen*|linux|cygwin)
        bindkey '\e[3~' delete-char
        bindkey '\e[4~' end-of-line
        bindkey '\e[1~' beginning-of-line