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/'
# Apps #########################
if [ `command -v "mvim"` ]; then
if command-exists mvim; then
alias v='mvim'
else
alias v='vim'