diff options
author | Jonas Gunz <himself@jonasgunz.de> | 2020-07-16 00:45:32 +0200 |
---|---|---|
committer | Jonas Gunz <himself@jonasgunz.de> | 2020-07-16 00:45:32 +0200 |
commit | d25805863be712d21fcb28e263b8f440d148bf21 (patch) | |
tree | 6e0275457a08f03392ec592a98bf66953a11e6b0 | |
parent | 5ea670246b6ddacc47fc7e14712020e9cb8568c3 (diff) | |
download | dotfiles-d25805863be712d21fcb28e263b8f440d148bf21.tar.gz |
added check for nvim
-rw-r--r-- | bash/alias.bash | 2 |
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" |