Updated source string, use hard path as NVM is not always installed in $HOME/.nvm

This commit is contained in:
Koen Punt committed 2014-03-25 20:51:39 +01:00
1 parent 1fac49f887
commit 246caa8581
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ if [ ! "$PROFILE" ]; then
fi
fi
SOURCE_STR="[[ -s \$HOME/.nvm/nvm.sh ]] && . \$HOME/.nvm/nvm.sh # This loads NVM"
SOURCE_STR="[ -s \"$NVM_DIR/nvm.sh\" ] && . \"$NVM_DIR/nvm.sh\" # This loads NVM"
if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then
if [ -z $PROFILE ]; then