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
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
alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'
+
+# Common aliases
+alias vv='$EDITOR ~/.zshrc && source ~/.zshrc'
+alias ll='ls -l'
+alias lr='ls -rtl'