0
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-09-19 04:01:21 +02:00
Commit graph

11 commits

Author SHA1 Message Date
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
Nick Paterno
bc7f596dc0
nvm: add install-latest-npm to completion (#8709) 2020-03-09 15:32:39 +01: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
Denys Dovhan
d1e1f1f340 nvm: add README (#7202) 2018-10-03 18:01:03 +02:00
Maciej Sypień
5c0911c184 update nvm completions with v0.29.0 (#4701) 2018-07-01 23:12:14 +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
3007f96090 NVM: Avoid providing completions when nvm is not installed 2013-09-05 10:09:19 -04:00
Paul Melnikow
e3c02bfeba Plugin for Node Version Manager 2013-09-04 18:07:58 -04:00