feat(nvm): add _omz_nvm_load function

This commit is contained in:
Carlo Sala 2024-09-19 11:44:51 +02:00
commit 1514145a09
No known key found for this signature in database
GPG key ID: DA6FB450C1A4FE9A
2 changed files with 15 additions and 11 deletions

View file

@ -42,6 +42,8 @@ as you want:
zstyle ':omz:plugins:nvm' lazy-cmd eslint prettier typescript ...
```
There will be a function `_omz_nvm_load` available to load `nvm` without executing any other trigger command.
#### `.nvmrc` autoload
Note: _if used at the same time as `lazy`, `autoload` will start working only after nvm has been lazy-loaded_