1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 23:08:00 +00:00

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 _='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"