Browse Source

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

master
Sorin Ionescu 12 years ago
parent
commit
2f4f11bd40
  1. 2
      modules/utility/init.zsh

2
modules/utility/init.zsh

@ -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