Merge pull request #195 from mmatongo/xdg

add XDG_CONFIG_HOME
This commit is contained in:
siduck76 2021-07-29 12:47:08 +05:30 committed by GitHub
commit 5d1156ddb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -98,7 +98,7 @@ _setup_terminal_shell() {
} }
_setup_arguments() { _setup_arguments() {
# default variables to be used # default variables to be used
_CONFIG_PATH="${HOME}/.config/nvim" _CONFIG_PATH="${XDG_CONFIG_HOME:-${HOME}/.config}/nvim"
_UPDATE="" _UPDATE=""
_BACKUP_PATH="${_CONFIG_PATH}.bak" _BACKUP_PATH="${_CONFIG_PATH}.bak"
_NO_BACKUP="false" _NO_BACKUP="false"