1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-30 17:50:07 +00:00
Commit graph

19 commits

Author SHA1 Message Date
Michał Regulski
585e7138b5
fix(nvm): omit message when silent-autoload is enabled (#11371) 2022-12-06 18:22:13 +01:00
Zeragamba
fc44c49cca
fix(nvm): trim non-printable chars from .nvmrc (#10997) 2022-12-01 19:49:41 +01: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
Marc Cornellà
8741664e55 fix(nvm): don't try to load nvm via brew if not found (#10878)
Fixes #10878
2022-04-24 18:59:44 +02:00
Carlo Sala
a879ff1515
fix(nvm): support path from Apple Silicon Homebrew (#10875) 2022-04-22 19:37:57 +02: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
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à
8163f65084 nvm: exit the plugin if the nvm loading script wasn't found 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
Keith Yao
3e97308003 nvm: speed-up nvm loading with --no-use
Closes #7138

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-09 17:21:03 +02:00
Chigozirim C
d6f3630932 nvm: check $XDG_CONFIG_HOME/nvm for an nvm installation
Closes #7807

Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-10-09 17:21:03 +02:00
Marc Cornellà
d8cb670235 nvm: simplify nvm.sh and bash completion loading 2020-10-09 17:21:03 +02:00
Andrew Janke
ef44416df2 nvm: use nvm current in nvm_prompt_info and look in alternate install locations
This makes it work regardless of where nvm is loaded from. And it uses nvm's
version strings, which distinguish the "system" and "none" NVM environments,
instead of reporting the specific version of the system node.js or erroring,
respectively.

Fixes #4336
Closes #4338
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
Sascha Bratton
728c8e7174 nvm: load nvm script only if command doesn't already exist (#5454)
Fixes #5453.
2019-04-08 17:58:27 +02:00
Luke Childs
a7de0fabd7 nvm plugin improvements (#5265)
* Export $NVM_DIR if it doesn't exist and use it when looking for nvm
* Use $NVM_DIR when looking for nvm for completion
* Use $NVM_DIR when looking for nvm in nvm_prompt_info
2016-08-07 19:36:44 +02:00
Paul Melnikow
e3c02bfeba Plugin for Node Version Manager 2013-09-04 18:07:58 -04:00