Luke Childs
30f8555044
Test removing lazy chpwd hook
5 years ago
Jeremy Miller
0b1344de73
also helps to escape quotes
5 years ago
Jeremy Miller
9212aaf878
helps to init lazy loader for this test
5 years ago
jmills
8df3e2bbad
remove extraneous _zsh_nvm_auto_use call
nvm will already be called by the line above (_zsh_nvm_load) so this a) takes longer and b) causes duplicated output in the terminal, e.g.:
Found '/Users/[...]/.nvmrc' with version <9.2.1>
Now using node v9.2.1 (npm v5.5.1)
Found '/Users/[...]/.nvmrc' with version <9.2.1>
Now using node v9.2.1 (npm v5.5.1)
5 years ago
jmills
d68eed6baa
Merge pull request #1 from amirdt22/auto-lazy
Add failing test for auto and lazy
5 years ago
Amir Tahvildaran
6557d7e2ed
Add failing test for auto and lazy
See https://github.com/lukechilds/zsh-nvm/pull/55
6 years ago
jmills
6ee0910bb8
Allow use of NVM_AUTO_USE alongside NVM_LAZY_LOAD
6 years ago
Bartosz Legięć
9ae1115e76
Make `nvm upgrade` follow the official git upgrade instructions from nvm ( #46 )
https://github.com/creationix/nvm#manual-upgrade
6 years ago
Alexandre Nicastro
2d88fd5c8f
typo fix - wrong command ( #37 )
typo fix - wrong command
7 years ago
Aitor Guevara
1bdd5e2128
silent `which nvm` error in lazy load ( #36 )
7 years ago
Luke Childs
9dbb51b388
Fix failing test ( #35 )
Don't check for revert not existing
7 years ago
Luke Childs
5c59940a6d
Mute unset output
8 years ago
Luke Childs
434b3f389e
Add warning about rc|nightly installs
8 years ago
Luke Childs
1a2fe08cf2
Document nvm install rc|nightly functionality
8 years ago
Luke Childs
9db79524fa
Automatically alias rc/nightly to version on install
8 years ago
Luke Childs
04d6b3dad9
Add console output while clearing mirror cache
Otherwise it looks like we're just hanging
8 years ago
Luke Childs
21e6719aab
Test nvm install wrapper
8 years ago
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
8 years ago
Luke Childs
7cf755d89c
Wrap nvm i as well as nvm install
8 years ago
Luke Childs
3d6c5606b2
Wrap nvm install to add support for rc/nightly
8 years ago
Luke Childs
7577d37b7e
Remove experimental warning from NVM_LAZY_LOAD
8 years ago
Luke Childs
4637e8f01b
Always return a good exit code
8 years ago
Luke Childs
bc08d9cc64
Remove final return
8 years ago
Luke Childs
3db9a695a3
This isn't JavaScript you pleb
8 years ago
Luke Childs
4ba1a04f09
Document NVM_AUTO_USE option
8 years ago
Luke Childs
37781594ea
Test NVM_AUTO_USE
8 years ago
Luke Childs
ee87d41ee1
Swap if conditions round to be more readable
8 years ago
Luke Childs
5ce23eee2b
Make .nvmrc version command more concise
8 years ago
Luke Childs
2f3f7dfc4e
Install node version from .nvmrc if we don't have it
8 years ago
Luke Childs
a01c899aec
Use double test brackets
8 years ago
Luke Childs
d03b986535
Don't reset to default nvm version on cd if it was set manually
8 years ago
Luke Childs
8bdba4fa1e
Always return true so failed checks don't make us return a non zero exit code
8 years ago
Luke Childs
3388eebd8a
Run `nvm use` rather than `nvm install` on cd auto use
8 years ago
Luke Childs
ffabddcdef
Only run _zsh_nvm_auto_use if nvm is fully loaded
8 years ago
Luke Childs
aa5c6e3337
Add NVM_AUTO_USE functionality
8 years ago
Luke Childs
650bcad0f7
Check yarn gets lazy loader if it's not installed via npm
8 years ago
Luke Childs
e05c86722d
Add lazy loader for yarn if present
yarn recommends installing via brew (or something other than npm) which means our it won't be picked up in our nvm node_modules glob.
8 years ago
Luke Childs
0dad2bdef2
Make sure only aliases conflicts are removed from lazy loading
Binary conflicts are ok. Fixes #15
8 years ago
Luke Childs
a76c7d2a45
Add test for alias fix aa1fccf
8 years ago
Luke Childs
ea13277137
Swap NVM_NO_USE NVM_LAZY_LOAD order in readme
8 years ago
Luke Childs
3f4d300831
Manually load node -> Don't autoload node
8 years ago
Luke Childs
c60db2fd86
Add Travis badge to readme
8 years ago
Luke Childs
5a3527cc49
Test NVM_LAZY_LOAD and NVM_NO_USE options together
8 years ago
Luke Childs
22b73475a6
Test nvm is loaded correctly with NVM_LAZY_LOAD
8 years ago
Luke Childs
3cf36f4183
Completely nuke node
`brew uninstall node` seems to leave behind npm
8 years ago
Luke Childs
0e9aaadb6f
Test global modules are loaded correctly with NVM_LAZY_LOAD
8 years ago
Luke Childs
920520ec04
Improve node binary checks in tests
8 years ago
Luke Childs
97fa6ebeab
Check node can be loaded manually in NVM_NO_USE test
8 years ago
Luke Childs
65869205ac
Add test info to readme
8 years ago
Luke Childs
d3f0effced
Uninstall brew node on Travis osx image
8 years ago