Source new nvm version after update

This commit is contained in:
Luke Childs 2016-07-09 09:29:14 +01:00
parent cfc2d02da6
commit d02a2ac3f8

View File

@ -34,6 +34,7 @@ nvm_update() {
else
echo "Updating to $latest_version..."
$(cd "$NVM_DIR" && git fetch && git checkout "$latest_version")
source "$NVM_DIR/nvm.sh"
fi
}