aboutsummaryrefslogtreecommitdiff
path: root/bash
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-16 00:45:32 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2020-07-16 00:45:32 +0200
commitd25805863be712d21fcb28e263b8f440d148bf21 (patch)
tree6e0275457a08f03392ec592a98bf66953a11e6b0 /bash
parent5ea670246b6ddacc47fc7e14712020e9cb8568c3 (diff)
downloaddotfiles-d25805863be712d21fcb28e263b8f440d148bf21.tar.gz
added check for nvim
Diffstat (limited to 'bash')
-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"