1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-04-20 13:28:38 +02:00
Commit Graph

17 Commits

Author SHA1 Message Date
Carlo Sala 1514145a09 feat(nvm): add _omz_nvm_load function 2024-09-19 11:44:51 +02:00
Carlo Sala a3dfe29036 feat(nvm): add pnpx as lazy cmd 2024-08-28 10:34:25 +02:00
Carlo Sala 8c5f64cc2f feat(nvm): add corepack to lazy_cmd 2024-05-07 21:30:52 +02:00
Carlo Sala 94aa49c0b9 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
2024-03-04 11:11:27 +01:00
Jarrett Lusso 8bdb5c959c docs(nvm): clarify autoload setup (#11797) 2023-07-15 22:10:48 +02:00
Carlo Sala b5be2d39e2 fix(nvm): disable lazy-loading if autoload is set
Closes #11748
2023-06-20 09:36:11 +02:00
Carlo Sala 46c70406dd feat(nvm): add npx to lazy trigger list
Closes #11740
2023-06-07 18:43:47 +02:00
Carlo 64bc22aee4 feat(nvm): add silent-autoload setting (#11363)
Co-authored-by: Michał Regulski <regulskimichal@outlook.com>

Closes #10942
2022-12-01 19:44:48 +01:00
Carlo 6d5ba2d6c4 feat(nvm)!: settings now are zstyle-based (#11335)
Co-authored-by: Marc Cornellà <hello@mcornella.com>
2022-11-15 20:23:09 +01:00
Carlo 78e85c7d78 fix(nvm): source nvm script only when used (#11205)
closes #11042
2022-10-06 21:01:56 +02:00
Paul Robert Lloyd 4d8d7bed50 docs(nvm): clarify how to get Homebrew directory (#10393) 2021-12-29 16:55:35 +01:00
Guo, Quan 70a0577712 feat(nvm): introduce customizable list of command that triggers lazy loading (#9946)
* Add customizable list of command that triggers lazy loading

* Add $NVM_LAZY_CMD

* Add instruction to `NVM_LAZY_CMD` in README.md
2021-06-13 10:32:47 -07:00
Paul Robert Lloyd 4298e89b4b docs(nvm): clarify how to enable settings (#9542)
It wasn’t clear where I should set the `NVM_AUTOLOAD` variable. The clue was to be found in [the docs for another plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/fzf). It seems setting values need to come before Oh My Zsh is sourced.

Updated read me to reflect this, and the fact that one of the settings mentioned is specific to nvm, not this plugin.
2021-01-02 14:04:34 +01:00
Danny Grove 8c8fe2a171 nvm: add autoloading of nvm version in .nvmrc
Closes #5782
Fixes #8959
Closes #8976
2020-10-09 17:21:03 +02:00
Marc Cornellà a33c0cdb46 nvm: only lazy-load nvm if the NVM_LAZY setting is set 2020-10-09 17:21:03 +02:00
davidfmatheson 27857e66d0 nvm: add Homebrew's nvm setup (#8316)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-08 17:21:34 +02:00
Denys Dovhan d1e1f1f340 nvm: add README (#7202) 2018-10-03 18:01:03 +02:00