1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-21 15:30:09 +00:00
Commit graph

6 commits

Author SHA1 Message Date
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