Danny Grove
8c8fe2a171
nvm: add autoloading of nvm version in .nvmrc
...
Closes #5782
Fixes #8959
Closes #8976
6 years ago
Marc Cornellà
8163f65084
nvm: exit the plugin if the nvm loading script wasn't found
6 years ago
Marc Cornellà
a33c0cdb46
nvm: only lazy-load nvm if the NVM_LAZY setting is set
6 years ago
Keith Yao
3e97308003
nvm: speed-up nvm loading with `--no-use`
...
Closes #7138
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Chigozirim C
d6f3630932
nvm: check $XDG_CONFIG_HOME/nvm for an nvm installation
...
Closes #7807
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Marc Cornellà
d8cb670235
nvm: simplify nvm.sh and bash completion loading
6 years ago
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
6 years ago
davidfmatheson
27857e66d0
nvm: add Homebrew's nvm setup ( #8316 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
Nick Paterno
bc7f596dc0
nvm: add `install-latest-npm` to completion ( #8709 )
6 years ago
Sascha Bratton
728c8e7174
nvm: load nvm script only if command doesn't already exist ( #5454 )
...
Fixes #5453 .
7 years ago
Denys Dovhan
d1e1f1f340
nvm: add README ( #7202 )
8 years ago
Maciej Sypień
5c0911c184
update nvm completions with v0.29.0 ( #4701 )
8 years ago
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
10 years ago
Paul Melnikow
3007f96090
NVM: Avoid providing completions when nvm is not installed
13 years ago
Paul Melnikow
e3c02bfeba
Plugin for Node Version Manager
13 years ago