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

main
Sorin Ionescu 13 years ago
parent a952a60362
commit 2f4f11bd40

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

Loading…
Cancel
Save