From 1273f41da3f72323e4fb0eb28e13dc43b0e1d1ec Mon Sep 17 00:00:00 2001 From: Buddy Sandidge Date: Fri, 29 Sep 2023 12:15:23 -0700 Subject: [PATCH] Use nvim appimage if installed --- dot_config/profile/profile.d/alias.sh.tmpl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dot_config/profile/profile.d/alias.sh.tmpl b/dot_config/profile/profile.d/alias.sh.tmpl index b10d390..c005f09 100644 --- a/dot_config/profile/profile.d/alias.sh.tmpl +++ b/dot_config/profile/profile.d/alias.sh.tmpl @@ -5,7 +5,10 @@ alias curl='curl --proto-default https --silent ' alias to_lower="tr '[:upper:]' '[:lower:]'" alias to_upper="tr '[:lower:]' '[:upper:]'" -#{{ if lookPath "nvim" -}} +#{{- if lookPath "nvim.appimage" }} +alias vim=nvim.appimage +alias nvim=nvim.appimage +#{{- else if lookPath "nvim" }} alias vim=nvim #{{- end }}