Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files


$HOME/.nvm used instead of introduced earlier NVM_TARGET.
  • Loading branch information...
commit 2f6b0ca9d733832e0ee9c8761ed0d63ba4a150f4 1 parent 59c8eda
@witoldsz witoldsz authored
Showing with 1 addition and 1 deletion.
  1. +1 −1 
2 
@@ -25,7 +25,7 @@ else
-SOURCE_STR='[[ -s "$HOME/.nvm/" ]] && . "$HOME/.nvm/" # This loads NVM'
+SOURCE_STR='[[ -s "$NVM_TARGET/" ]] && . "$NVM_TARGET/" # This loads NVM'
koenpunt added a note

$NVM_TARGET does not expand to the variable set in the script, so the line appears as following in your profile:

[[ -s "$NVM_TARGET/" ]] && . "$NVM_TARGET/" # This loads NVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then
if [ -z $PROFILE ]; then

1 comment on commit 2f6b0ca


Ah, of course, you are right.
I was thinking, maybe the NVM_TARGET should be assigned only when it is unset. That would allow users to launch install script with NVM_TARGET being preset to location of their own... or... the install location could be the parameter of the script.

Please sign in to comment.
Something went wrong with that request. Please try again.