From b40cc536d0aba7dc2df16ce42eaf33e2f0d3be85 Mon Sep 17 00:00:00 2001 From: Andy Gimblett Date: Wed, 1 Dec 2021 14:55:38 +0000 Subject: [PATCH] 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). --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 4f2b588..7c46aa2 100644 --- a/README.md +++ b/README.md @@ -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