Skip to content

Commit

Permalink
Add README section about zsh-nvm's AUTO_USE option
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
gimbo authored Dec 1, 2021
1 parent 4856407 commit b40cc53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,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
Expand Down

0 comments on commit b40cc53

Please sign in to comment.