revert echoing path. make tests even better

This commit is contained in:
Daniel Bretoi
2014-12-19 11:31:46 -08:00
parent f196ace5dd
commit 99ca0de18f
2 changed files with 4 additions and 3 deletions

2
nvm.sh
View File

@@ -982,7 +982,7 @@ nvm() {
echo "$VERSION version is not installed yet" >&2
return 1
fi
echo $(nvm use "$VERSION" >/dev/null 2>&1 && which node)
echo $NVM_DIR/$VERSION/bin/node
;;
"alias" )
mkdir -p "$NVM_DIR/alias"