Danny Grove and Marc Cornellà
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 and Marc Cornellà
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 and Marc Cornellà
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 and Marc Cornellà
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
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 and GitHub
bc7f596dc0
nvm: add install-latest-npm to completion ( #8709 )
2020-03-09 15:32:39 +01:00
Sascha Bratton and Marc Cornellà
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 and Marc Cornellà
d1e1f1f340
nvm: add README ( #7202 )
2018-10-03 18:01:03 +02:00
Maciej Sypień and Marc Cornellà
5c0911c184
update nvm completions with v0.29.0 ( #4701 )
2018-07-01 23:12:14 +02:00
Luke Childs and Marc Cornellà
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