Commit Graph

153 Commits

Author SHA1 Message Date
Eric Henderson
a430aab4f9 fix the case when there is no node at all 2024-03-04 10:40:01 -05:00
Eric Henderson
412912461d
update from main 2024-02-14 13:50:21 -05:00
Sumit Sahrawat
d3db5265b5 Fix leaking variables using local with for loops (#98) 2023-08-18 11:36:11 -04:00
Sumit Sahrawat
745291dcf2
Fix leaking variables using local with for loops (#98) 2023-07-13 19:14:12 +07:00
Luke Childs
e293a0914f Revert "Optimize lazy loading performance (#76)" (#96)
This reverts commit a0f0a2cfd0.
2023-06-13 15:23:21 -04:00
Riatre
c123e04fa9 Optimize lazy loading performance (#76) 2023-06-13 15:23:21 -04:00
Luke Childs
75e0ac5c57 Update README.md 2023-06-13 15:23:21 -04:00
Luke Childs
9295d10c88
Revert "Optimize lazy loading performance (#76)" (#96)
This reverts commit a0f0a2cfd0.
2023-03-02 00:02:35 +07:00
Riatre
a0f0a2cfd0
Optimize lazy loading performance (#76) 2023-02-25 00:41:46 +07:00
Luke Childs
63595c2579
Update README.md 2023-01-22 19:20:31 +07:00
Eric Henderson
a55dc057d9 more optimizations 2022-12-30 13:38:22 -05:00
Eric Henderson
3d6db8f1eb didn't improve performance like i'd hoped, so put this back 2022-12-30 13:38:22 -05:00
Eric Henderson
8f682fafee further optimization 2022-12-30 13:38:22 -05:00
Eric Henderson
e32f46e20f fixing messaging 2022-12-30 13:38:22 -05:00
Eric Henderson
3599074326 fixing some issues 2022-12-30 13:38:22 -05:00
Eric Henderson
e57f45a3d0 revert the previous change and replace it with an optimized version of the functionality 2022-12-30 13:38:22 -05:00
Eric Henderson
9af1493550 potential performance optimization on NVM_AUTO_USE 2022-12-30 13:38:22 -05:00
Eric Henderson
0cd8789d1e make it possible to disable auto-use after shell init 2022-12-30 13:38:22 -05:00
Eric Henderson
52d743363c Add support for NVM_AUTO_USE_IGNORE_VERSION and NVM_AUTO_USE_IGNORE_PATH as methods for skiping the auto-use in specific cases 2022-12-30 13:38:22 -05:00
Joeri de Gooijer
23067bd9bb
Add NVM_LAZY_LOAD_EXTRA_COMMANDS option (#67) 2020-06-16 14:21:22 +07:00
Alexandre Faria
fdf4d6cc7d
Add NVM_COMPLETION option (#63) 2020-05-01 17:42:28 +07:00
Eddie Monge
9f7e144397
Use builtin cd command (#61) 2020-03-14 16:30:22 +07:00
Luke Childs
251cd3091d
Create FUNDING.yml 2019-11-19 17:24:25 +07:00
Luke Childs
53cb910dab
Update nvm repo link in readme 2019-10-08 09:52:49 +07:00
ethanwu10
557653b340 Update nvm repository URL (#56)
nvm has moved to nvm-sh/nvm, update the git clone URL to match
2019-10-08 09:51:42 +07:00
Bartosz Legięć
9ae1115e76 Make nvm upgrade follow the official git upgrade instructions from nvm (#46)
https://github.com/creationix/nvm#manual-upgrade
2019-02-08 19:30:01 +07:00
Alexandre Nicastro
2d88fd5c8f typo fix - wrong command (#37)
typo fix - wrong command
2017-10-07 08:42:25 +01:00
Aitor Guevara
1bdd5e2128 silent which nvm error in lazy load (#36) 2017-09-15 14:13:22 +01:00
Luke Childs
9dbb51b388 Fix failing test (#35)
Don't check for revert not existing
2017-09-15 02:24:16 +01:00
Luke Childs
5c59940a6d Mute unset output 2017-07-18 21:00:39 +01:00
Luke Childs
434b3f389e Add warning about rc|nightly installs 2017-07-18 15:14:50 +01:00
Luke Childs
1a2fe08cf2 Document nvm install rc|nightly functionality 2017-05-29 18:10:59 +07:00
Luke Childs
9db79524fa Automatically alias rc/nightly to version on install 2017-05-29 18:10:59 +07:00
Luke Childs
04d6b3dad9 Add console output while clearing mirror cache
Otherwise it looks like we're just hanging
2017-05-29 18:10:59 +07:00
Luke Childs
21e6719aab Test nvm install wrapper 2017-05-29 18:10:59 +07:00
Luke Childs
428331fce6 Re-run nvm ls-remote after using a mirror
Otherwise we're left with data from the mirror cached when we run nvm ls
2017-05-29 18:10:59 +07:00
Luke Childs
7cf755d89c Wrap nvm i as well as nvm install 2017-05-29 18:10:59 +07:00
Luke Childs
3d6c5606b2 Wrap nvm install to add support for rc/nightly 2017-05-29 18:10:59 +07:00
Luke Childs
7577d37b7e Remove experimental warning from NVM_LAZY_LOAD 2017-01-15 16:29:55 +07:00
Luke Childs
4637e8f01b Always return a good exit code 2017-01-10 13:08:42 +07:00
Luke Childs
bc08d9cc64 Remove final return 2017-01-10 13:08:42 +07:00
Luke Childs
3db9a695a3 This isn't JavaScript you pleb 2017-01-10 12:21:09 +07:00
Luke Childs
4ba1a04f09 Document NVM_AUTO_USE option 2017-01-05 18:25:06 +07:00
Luke Childs
37781594ea Test NVM_AUTO_USE 2017-01-05 18:25:06 +07:00
Luke Childs
ee87d41ee1 Swap if conditions round to be more readable 2017-01-05 18:25:06 +07:00
Luke Childs
5ce23eee2b Make .nvmrc version command more concise 2017-01-05 18:25:06 +07:00
Luke Childs
2f3f7dfc4e Install node version from .nvmrc if we don't have it 2017-01-05 18:25:06 +07:00
Luke Childs
a01c899aec Use double test brackets 2017-01-05 18:25:06 +07:00
Luke Childs
d03b986535 Don't reset to default nvm version on cd if it was set manually 2017-01-05 18:25:06 +07:00
Luke Childs
8bdba4fa1e Always return true so failed checks don't make us return a non zero exit code 2017-01-05 18:25:06 +07:00