Make 'Running "nvm deactivate" should unset the nvm environment variables.' work again

/bin/sh doesn't like `while [[ ... ]]`. It much rather prefers `while [ .. ]`

Also minor spacing changes
This commit is contained in:
LoveIsGrief 2014-11-16 17:04:07 +01:00
parent 78069717f7
commit c485417bd8

2
nvm.sh
View File

@ -803,7 +803,7 @@ nvm() {
fi
else
# Handle options
while [[ $# > 0 ]]; do
while [ $# > 0 ]; do
key="$1"
shift
case $key in