diff --git a/zsh/aliases b/zsh/aliases index 8eea1e4e..37117d51 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -17,7 +17,11 @@ alias wd='cd ~/Work/Dev/' alias wp='cd ~/Work/Projects/' # Apps ######################### -alias v='mvim' +if [ `command -v "mvim"` ]; then + alias v='mvim' +else + alias v='vim' +fi alias rb='ruby' alias py='python' alias js='node'