[readme] updated automatic call script for bash

Bash terminal was throwing error: `bash: cd: too many arguments` when directory had some spaces in the name.
The quotes around `$PWD` fixes this issue
Nikita N 2021-09-21 23:57:25 +03:00 committed by Jordan Harband
parent b6b6e685a3
commit cc6915e216
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ cdnvm() {
fi
}
alias cd='cdnvm'
cd $PWD
cd "$PWD"
```
This alias would search 'up' from your current directory in order to detect a `.nvmrc` file. If it finds it, it will switch to that version; if not, it will use the default version.