Use command-exists

This commit is contained in:
Henrik Lissner 2013-03-21 12:31:41 -04:00
parent ddcb98614a
commit bf043923a1

View file

@ -18,7 +18,7 @@ alias wd='cd ~/Work/Dev/'
alias wp='cd ~/Work/Projects/' alias wp='cd ~/Work/Projects/'
# Apps ######################### # Apps #########################
if [ `command -v "mvim"` ]; then if command-exists mvim; then
alias v='mvim' alias v='mvim'
else else
alias v='vim' alias v='vim'