[Fix] set install dir to XDG_CONFIG_HOME/nvm, not XDG_CONFIG_HOME

seems to be the intent - wasn't happening on bash 4.4.19 at least
This commit is contained in:
bees 2019-03-08 09:42:02 -06:00
parent 2410215b6a
commit f43502ac8f

View File

@ -8,7 +8,7 @@ nvm_has() {
nvm_default_install_dir() {
if [ -n "$XDG_CONFIG_HOME" ]; then
printf %s "${XDG_CONFIG_HOME/nvm}"
printf %s "${XDG_CONFIG_HOME}/nvm"
else
printf %s "$HOME/.nvm"
fi