feat(nvm): add silent-autoload setting (#11363)

Co-authored-by: Michał Regulski <regulskimichal@outlook.com>

Closes #10942
This commit is contained in:
Carlo 2022-12-01 19:44:48 +01:00 committed by GitHub
commit 64bc22aee4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 6 deletions

View file

@ -48,5 +48,13 @@ If set, the plugin will automatically load a node version when if finds a
version to load. This can be done, similar as previous options, adding:
```zsh
zstyle ':omz:plugins:nvm' autoload true
zstyle ':omz:plugins:nvm' autoload yes
```
To remove the output generated by NVM when autoloading, you can set the following option:
```zsh
zstyle ':omz:plugins:nvm' silent-autoload yes
```
Note: _this will not remove regular `nvm` output_