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/'
|
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'
|
||||||
|
|
Loading…
Reference in a new issue