aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bash/alias.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash/alias.bash b/bash/alias.bash
index 2328526..383ae28 100644
--- a/bash/alias.bash
+++ b/bash/alias.bash
@@ -4,7 +4,7 @@ alias ls="ls --color"
alias la="ls -a"
alias ll="ls -lh"
-alias vim="nvim"
+which nvim > /dev/null && alias vim="nvim"
alias ssh="TERM=xterm-color ssh"