From f43502ac8f314701efbcf4a8f08c03300ae13bd9 Mon Sep 17 00:00:00 2001 From: bees Date: Fri, 8 Mar 2019 09:42:02 -0600 Subject: [PATCH] [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 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 8dd6f07..5e8f22e 100755 --- a/install.sh +++ b/install.sh @@ -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