commit | 2d4e877b61f61f91cb7a9d2acbb1ffd1582bf736 | [log] [tgz] |
---|---|---|
author | Szymon Dzialowski <stopsopa@users.noreply.github.com> | Wed Jun 10 18:28:14 2020 +0100 |
committer | Jordan Harband <ljharb@gmail.com> | Wed Jun 10 18:28:14 2020 +0100 |
tree | e21f8a3f2ab2aa635808de0803a91676daac3657 | |
parent | 6575b6b0522e503248d319da9075b58d43b7813b [diff] |
[readme] Stop removing spaces from nvm_path It breaks switching version of node through nvm in directories with space somewhere in it's path.
diff --git a/README.md b/README.md index ca88148..dcb1b2d 100644 --- a/README.md +++ b/README.md
@@ -463,7 +463,7 @@ cdnvm(){ cd "$@"; - nvm_path=$(find-up .nvmrc | tr -d '[:space:]') + nvm_path=$(find-up .nvmrc | tr -d '\n') # If there are no .nvmrc file, use the default nvm version if [[ ! $nvm_path = *[^[:space:]]* ]]; then