From 9ba08bf7887819f28d7a0edc1f919ed8a73032c6 Mon Sep 17 00:00:00 2001 From: "Daniel M. Matongo" Date: Thu, 29 Jul 2021 05:27:08 +0000 Subject: [PATCH] update _CONFIG_PATH --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8bc22c1..31d0264 100755 --- a/install.sh +++ b/install.sh @@ -98,7 +98,7 @@ _setup_terminal_shell() { } _setup_arguments() { # default variables to be used - _CONFIG_PATH="${XDG_CONFIG_HOME}/nvim" + _CONFIG_PATH="${XDG_CONFIG_HOME:-${HOME}/.config}/nvim" _UPDATE="" _BACKUP_PATH="${_CONFIG_PATH}.bak" _NO_BACKUP="false"