diff options
author | Carlo <carlosalag@protonmail.com> | 2022-10-06 20:01:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 21:01:56 +0200 |
commit | 78e85c7d78edeca7f06d6a54ad7f03f10dacde62 (patch) | |
tree | c3b7e94f5bacc91dda84b246afbe92a4de79ec22 /plugins/nvm/README.md | |
parent | 570158e464c9f57ab03c4162b4e6853b2c7c650d (diff) | |
download | zsh-78e85c7d78edeca7f06d6a54ad7f03f10dacde62.tar.gz zsh-78e85c7d78edeca7f06d6a54ad7f03f10dacde62.tar.bz2 zsh-78e85c7d78edeca7f06d6a54ad7f03f10dacde62.zip |
fix(nvm): source nvm script only when used (#11205)
closes #11042
Diffstat (limited to 'plugins/nvm/README.md')
-rw-r--r-- | plugins/nvm/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/nvm/README.md b/plugins/nvm/README.md index a8bc34ae7..1acf12050 100644 --- a/plugins/nvm/README.md +++ b/plugins/nvm/README.md @@ -22,9 +22,9 @@ These settings should go in your zshrc file, before Oh My Zsh is sourced: nvm has been installed, regardless of chip architecture, use `NVM_HOMEBREW=$(brew --prefix nvm)`. - **`NVM_LAZY`**: if you want the plugin to defer the load of nvm to speed-up the start of your zsh session, - set `NVM_LAZY` to `1`. This will use the `--no-use` parameter when loading nvm, and will create a function - for `node`, `npm`, `yarn`, and the command(s) specified by `NVM_LAZY_CMD`, so when you call either of them, - nvm will load with `nvm use default`. + set `NVM_LAZY` to `1`. This will source nvm script only when using it, and will create a function for `node`, + `npm`, `pnpm`, `yarn`, and the command(s) specified by `NVM_LAZY_CMD`, so when you call either of them, + nvm will be loaded and run with default version. - **`NVM_LAZY_CMD`**: if you want additional command(s) to trigger lazy loading of nvm, set `NVM_LAZY_CMD` to the command or an array of the commands. |