X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/blobdiff_plain/dfcbd6b054a251e4d9fd17fac2d9af99a4632b29..d0817f6ac1e8d3c412e66ece652507d8a322ac80:/zshrc?ds=sidebyside diff --git a/zshrc b/zshrc index a918905..a3a6a47 100644 --- 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,10 +26,11 @@ 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 + bindkey '\eOM' accept-line ;; xterm) bindkey '\e[3~' delete-char