From d25805863be712d21fcb28e263b8f440d148bf21 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 16 Jul 2020 00:45:32 +0200 Subject: added check for nvim --- bash/alias.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bash') 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" -- cgit v1.2.3