diff --git a/nvm.sh b/nvm.sh index 6d589d8..831db6b 100755 --- a/nvm.sh +++ b/nvm.sh @@ -283,4 +283,4 @@ nvm() esac } -nvm ls default >/dev/null 2>&1 && nvm use default >/dev/null +nvm ls default &>/dev/null && nvm use default >/dev/null || true