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.
pull/195/head
Daniel M. Matongo 3 years ago committed by GitHub
parent 9089232ec7
commit dcf5d64437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"

Loading…
Cancel
Save