Carlo Sala
0ea0d14288
fix(nvm): remove zsh completion
...
We rely on official bash completion now on.
2024-03-04 10:47:34 +01:00
Carlo Sala
8a8a04f43a
fix(nvm): prevent duplicates in lazy_cmd
...
Closes #11344
2023-12-27 10:52:23 +01:00
Carlo Sala
7cf00a0b5c
fix(nvm): remove nvm not found verbose message
2023-07-19 14:46:35 +02:00
Jarrett Lusso and GitHub
8bdb5c959c
docs(nvm): clarify autoload setup ( #11797 )
2023-07-15 22:10:48 +02:00
Carlo Sala
b5be2d39e2
fix(nvm): disable lazy-loading if autoload is set
...
Closes #11748
2023-06-20 09:36:11 +02:00
Carlo Sala
4ba17232da
feat(nvm)!: remove soft-deprecated code
...
BREAKING CHANGE: $NVM_LAZY, $NVM_LAZY_CMD, AND $NVM_AUTOLOAD cannot be
used anymore to tweak nvm plugin. Use zstyle-based configurations
instead.
2023-06-20 08:54:37 +02:00
Carlo Sala
46c70406dd
feat(nvm): add npx to lazy trigger list
...
Closes #11740
2023-06-07 18:43:47 +02:00
Michał Regulski and GitHub
585e7138b5
fix(nvm): omit message when silent-autoload is enabled ( #11371 )
2022-12-06 18:22:13 +01:00
Zeragamba and GitHub
fc44c49cca
fix(nvm): trim non-printable chars from .nvmrc ( #10997 )
2022-12-01 19:49:41 +01:00
Carlo and GitHub
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
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 and GitHub
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 and GitHub
a879ff1515
fix(nvm): support path from Apple Silicon Homebrew ( #10875 )
2022-04-22 19:37:57 +02:00
Paul Robert Lloyd and GitHub
4d8d7bed50
docs(nvm): clarify how to get Homebrew directory ( #10393 )
2021-12-29 16:55:35 +01:00
Guo, Quan and GitHub
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
Paul Robert Lloyd and GitHub
4298e89b4b
docs(nvm): clarify how to enable settings ( #9542 )
...
It wasn’t clear where I should set the `NVM_AUTOLOAD` variable. The clue was to be found in [the docs for another plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/fzf ). It seems setting values need to come before Oh My Zsh is sourced.
Updated read me to reflect this, and the fact that one of the settings mentioned is specific to nvm, not this plugin.
2021-01-02 14:04:34 +01:00
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