summaryrefslogtreecommitdiff
path: root/plugins/nvm/README.md
diff options
context:
space:
mode:
authorCarlo Sala <carlosalag@protonmail.com>2024-03-04 11:02:37 +0100
committerCarlo Sala <carlosalag@protonmail.com>2024-03-04 11:11:27 +0100
commit94aa49c0b96fed98d2751107301c16f32de13383 (patch)
tree3c328bb54cc1ec40047147d5869ce356563a1d63 /plugins/nvm/README.md
parent0ea0d14288d68aba026d47517009233846c7b409 (diff)
downloadzsh-94aa49c0b96fed98d2751107301c16f32de13383.tar.gz
zsh-94aa49c0b96fed98d2751107301c16f32de13383.tar.bz2
zsh-94aa49c0b96fed98d2751107301c16f32de13383.zip
feat(nvm)!: make `lazy` and `autoload` options compatible
BREAKING CHANGE: Prior to this commit, if `lazy` and `autoload` options were enabled at the same time, `lazy` was getting overriden and only `autoload` was taken into account. Now they work together and `autoload` will be enabled after `nvm` has been lazy-loaded. Closes #11690
Diffstat (limited to 'plugins/nvm/README.md')
-rw-r--r--plugins/nvm/README.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/nvm/README.md b/plugins/nvm/README.md
index b5ef221d3..e88ce0158 100644
--- a/plugins/nvm/README.md
+++ b/plugins/nvm/README.md
@@ -43,8 +43,7 @@ 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._
+Note: _if used at the same time as `lazy`, `autoload` will start working only after nvm has been lazy-loaded_
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