Use $VISUAL and fallback on $EDITOR for the e alias

This commit is contained in:
Sorin Ionescu 2012-08-27 22:47:51 -04:00
parent a952a60362
commit 2f4f11bd40

View File

@ -48,7 +48,7 @@ alias sftp='noglob sftp'
alias _='sudo'
alias b='${(z)BROWSER}'
alias cp="${aliases[cp]:-cp} -i"
alias e='${(z)EDITOR}'
alias e='${(z)VISUAL:-${(z)EDITOR}}'
alias ln="${aliases[ln]:-ln} -i"
alias mkdir="${aliases[mkdir]:-mkdir} -p"
alias mv="${aliases[mv]:-mv} -i"