diff --git a/nvm.sh b/nvm.sh index e1ef5df..d6380cd 100644 --- a/nvm.sh +++ b/nvm.sh @@ -93,6 +93,7 @@ nvm_find_nvmrc() { # Obtain nvm version from rc file nvm_rc_version() { + export NVM_RC_VERSION='' local NVMRC_PATH NVMRC_PATH="$(nvm_find_nvmrc)" if [ -e "$NVMRC_PATH" ]; then