mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
[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:
parent
2410215b6a
commit
f43502ac8f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user