From ca897ac6d5d02ecad4400cb4319d064c2e48d2bf Mon Sep 17 00:00:00 2001 From: Tim Connolly Date: Wed, 22 Sep 2021 16:25:28 +1000 Subject: [PATCH] [readme] Avoid infinite loop in cdnvm() --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b87748d..a670a88 100644 --- a/README.md +++ b/README.md @@ -524,7 +524,7 @@ Put the following at the end of your `$HOME/.bashrc`: ```bash cdnvm() { - cd "$@"; + command cd "$@"; nvm_path=$(nvm_find_up .nvmrc | tr -d '\n') # If there are no .nvmrc file, use the default nvm version