diff --git a/README.md b/README.md index 50803c3..f891335 100644 --- a/README.md +++ b/README.md @@ -581,7 +581,7 @@ cdnvm() { elif [[ -s $nvm_path/.nvmrc && -r $nvm_path/.nvmrc ]]; then declare nvm_version - nvm_version=$(<"$nvm_path"/.nvmrc) + nvm_version=$(<"$nvm_path"/.nvmrc | sed 's/^v//g') declare locally_resolved_nvm_version # `nvm ls` will check all locally-available versions