diff --git a/nvm.sh b/nvm.sh index 5f02501..02a812a 100644 --- a/nvm.sh +++ b/nvm.sh @@ -803,10 +803,10 @@ nvm() { fi else # Handle options - while [[ $# > 0 ]]; do + while [ $# > 0 ]; do key="$1" shift - case $key in + case $key in --print-paths) PRINT_PATHS=true ;;