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.
This commit is contained in:
parent
9089232ec7
commit
dcf5d64437
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue