This commit is contained in:
Andy Gimblett 2022-02-08 22:24:40 +01:00 committed by GitHub
commit 04c0e83a9a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -602,6 +602,10 @@ This alias would search 'up' from your current directory in order to detect a `.
#### zsh
##### Via zsh-nvm
If you use the `zsh-nvm` plugin, [you can set](https://github.com/lukechilds/zsh-nvm#auto-use) `NVM_AUTO_USE=true` to have it automatically detect and use `.nvmrc` files.
##### Calling `nvm use` automatically in a directory with a `.nvmrc` file
Put this into your `$HOME/.zshrc` to call `nvm use` automatically whenever you enter a directory that contains an