update _CONFIG_PATH

This commit is contained in:
Daniel M. Matongo 2021-07-29 05:27:08 +00:00 committed by GitHub
parent dcf5d64437
commit 9ba08bf788
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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