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
Luke Childs
49face1b2a
Deactivate default Travis nvm
8 years ago
Luke Childs
193dbd37ea
Test NVM_LAZY_LOAD option
8 years ago
Luke Childs
c8af979926
Test NVM_NO_USE option
8 years ago
Luke Childs
556e24f5f1
Test zsh-nvm loads node
8 years ago
Luke Childs
ac785226ed
Move test NVM_DIR inside test folder
8 years ago
Luke Childs
27a399a44f
Setup options test dir
8 years ago
Luke Childs
01cc0aeeae
Ignore .urchin_stdout files
8 years ago
Luke Childs
e26a39b1f2
Add sh shebang to tests so we get syntax highlighting
8 years ago
Luke Childs
dd55eb6048
Test nvm upgrade
8 years ago
Luke Childs
b438f6541f
Ignore .urchin.log files anywhere
They will be created inside each test subdir if you run just that subdirs tests. May as well ignore all .urchin.log files so we don't accidentally get them committed.
8 years ago
Luke Childs
762a89dfdf
Test nvm revert
8 years ago
Luke Childs
a3e1bbd75f
Setup wrapper commands tests
8 years ago
Luke Childs
61a8aba6f1
Test zsh-nvm wraps nvm
8 years ago
Luke Childs
a12a0e368c
Test zsh-nvm loads nvm
8 years ago
Luke Childs
6f7c9ff4cc
Don't load/install nvm in tests that don't need to
8 years ago
Luke Childs
8367ab3120
Add ZSH_NVM_NO_LOAD option
If ZSH_NVM_NO_LOAD is set to true then zsh-nvm won't actually do anything after setting up environment variables and functions. This is usefull for unit tests and debugging.
8 years ago
Luke Childs
c7ee42d5c5
Test zsh-nvm doesn't overwrite nvm installs
8 years ago
Luke Childs
2156245dca
Test zsh-nvm installs nvm
8 years ago
Luke Childs
babab28ff9
Remove nvm after every test
This ensures we get a fresh nvm install for every test
8 years ago
Luke Childs
bf24f56434
Use repo dir for NVM_DIR so we don't mess with global nvm installations
8 years ago
Luke Childs
9c33f4d91c
Test set NVM_DIR if not exist
8 years ago
Luke Childs
5e27903375
Also run Travis tests on OS X
8 years ago
Luke Childs
ff2e8f0ba3
Integrate with Travis
8 years ago
Luke Childs
52b486bca8
Setup urchin tests with test for loading
8 years ago
Luke Childs
aa1fccff4b
Don't set lazy loaders that conflict with existing globals
8 years ago
Luke Childs
de3c3d7826
Add LICENSE file
8 years ago
Luke Childs
6e2fc22ff3
Document `NVM_NO_USE` option
8 years ago
Luke Childs
e379610cb9
Make lazy loading compatible with no use option
8 years ago
Luke Childs
e2e47a8c21
Add NVM_NO_USE option
8 years ago
Luke Childs
ce7bc2a0a2
Wrap binary path output in quotes
8 years ago
Luke Childs
007fd93fd7
Make sure we have binaries before trying to format them
Otherwise basename spits out errors #8
8 years ago
Vadim Kazakov
620000bab0
separate array declaration from assignment ( #7 )
Fixes `bad pattern` error on old versions of zsh
8 years ago
Sven Boekhoff
bd213dd075
Specify where to add the plugin in 'Oh My ZSH!' installation ( #5 )
8 years ago
Luke Childs
1be9149af6
Set `max-args` to 1 on `xargs`
Otherwise it misses binaries (#4 )
8 years ago
Luke Childs
49f23771d3
Use echo to list glob matches rather than ls
ls falls back to current dir if there are no glob matches
i.e right after install
8 years ago
Luke Childs
9bc96c23ff
Make source nvm command example identical to internal one
8 years ago
Luke Childs
bbbb52a667
Make source nvm command clearer
8 years ago
Luke Childs
8709621973
Allow nullglobs when looking for binaries
8 years ago
Luke Childs
eef332636f
Add lazy loading support to node <0.12
8 years ago
Luke Childs
1c6d8dd15e
Refactor lazy loading
8 years ago