X-Git-Url: https://git.draconx.ca/gitweb/zshconf.git/blobdiff_plain/1e40b3e8ca2099ae7b14f26110161e8b71bc34a0..3575f4092db0977d0e931dc55e9c728f5246f2c1:/zshrc diff --git a/zshrc b/zshrc index caf5805..7f0df9b 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 @@ -32,7 +32,7 @@ screen*|linux|cygwin) bindkey '\e[1~' beginning-of-line bindkey '\eOM' accept-line ;; -xterm) +xterm*) bindkey '\e[3~' delete-char bindkey '\e[F' end-of-line bindkey '\e[H' beginning-of-line