From dcf5d64437d8a85cc18cc66db450dd5652fb1b5d Mon Sep 17 00:00:00 2001 From: "Daniel M. Matongo" Date: Wed, 28 Jul 2021 19:16:32 +0000 Subject: [PATCH] add XDG_CONFIG_HOME I tried installing it on my system and it failed mostly because the NvChad was by default installed to the `.config` directory. I use a custom dir for my `XDG_CONFIG_HOME` so I figured if anyone has the same issue this would be an easy way to have it not work for them, the fallback dir here is `.config` if the user has not set a custom one. --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9f7b382..8bc22c1 100755 --- a/install.sh +++ b/install.sh @@ -98,7 +98,7 @@ _setup_terminal_shell() { } _setup_arguments() { # default variables to be used - _CONFIG_PATH="${HOME}/.config/nvim" + _CONFIG_PATH="${XDG_CONFIG_HOME}/nvim" _UPDATE="" _BACKUP_PATH="${_CONFIG_PATH}.bak" _NO_BACKUP="false"