summaryrefslogtreecommitdiff
path: root/plugins/nvm/README.md
diff options
context:
space:
mode:
authorCarlo Sala <carlosalag@protonmail.com>2023-06-20 09:36:11 +0200
committerCarlo Sala <carlosalag@protonmail.com>2023-06-20 09:36:11 +0200
commitb5be2d39e2d2a598f7bba26d0bae2cce8c7d3d64 (patch)
tree4b14654103c67076b78c18c681bceb7af3039cb0 /plugins/nvm/README.md
parent4ba17232dae591f67b8e474fb013d2cb6555696e (diff)
downloadzsh-b5be2d39e2d2a598f7bba26d0bae2cce8c7d3d64.tar.gz
zsh-b5be2d39e2d2a598f7bba26d0bae2cce8c7d3d64.tar.bz2
zsh-b5be2d39e2d2a598f7bba26d0bae2cce8c7d3d64.zip
fix(nvm): disable lazy-loading if autoload is set
Closes #11748
Diffstat (limited to 'plugins/nvm/README.md')
-rw-r--r--plugins/nvm/README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/nvm/README.md b/plugins/nvm/README.md
index 6830c14d0..eee3bf717 100644
--- a/plugins/nvm/README.md
+++ b/plugins/nvm/README.md
@@ -43,6 +43,9 @@ zstyle ':omz:plugins:nvm' lazy-cmd eslint prettier typescript ...
#### `.nvmrc` autoload
+Note: _this option cannot be used at the same time as `lazy`. `autoload` will override it and load `nvm` at
+startup._
+
If set, the plugin will automatically load a node version when if finds a
[`.nvmrc` file](https://github.com/nvm-sh/nvm#nvmrc) in the current working directory indicating which node
version to load. This can be done, similar as previous options, adding: