Add README section about zsh-nvm's AUTO_USE option

Add a subsection to `README.md` about using zsh-nvm's `NVM_AUTO_USE` option to automatically detect and use `.nvmrc` files; the zsh-nvm plugin is mentioned already in the README (in the installation section).
This commit is contained in:
Andy Gimblett 2021-12-01 14:55:38 +00:00 committed by GitHub
parent 4856407d26
commit b40cc536d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -600,6 +600,10 @@ This alias would search 'up' from your current directory in order to detect a `.
#### zsh #### 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 ##### 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 Put this into your `$HOME/.zshrc` to call `nvm use` automatically whenever you enter a directory that contains an