Use command-exists
This commit is contained in:
parent
ddcb98614a
commit
bf043923a1
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue