Luke Childs
2eae5bdb6a
Test zsh-nvm loads nvm
8 years ago
Luke Childs
7246598a9f
Don't load/install nvm in tests that don't need to
8 years ago
Luke Childs
be4db872ed
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
f8e0c4c5de
Test zsh-nvm doesn't overwrite nvm installs
8 years ago
Luke Childs
41f68d7f1e
Test zsh-nvm installs nvm
8 years ago
Luke Childs
4a750fb6c4
Remove nvm after every test
This ensures we get a fresh nvm install for every test
8 years ago
Luke Childs
7754936556
Use repo dir for NVM_DIR so we don't mess with global nvm installations
8 years ago
Luke Childs
eba3a816c4
Test set NVM_DIR if not exist
8 years ago
Luke Childs
ba6faa1b90
Also run Travis tests on OS X
8 years ago
Luke Childs
daf80c39cc
Integrate with Travis
8 years ago
Luke Childs
4bffd53da4
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
9 years ago
Sven Boekhoff
bd213dd075
Specify where to add the plugin in 'Oh My ZSH!' installation ( #5 )
9 years ago
Luke Childs
1be9149af6
Set `max-args` to 1 on `xargs`
Otherwise it misses binaries (#4 )
9 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
9 years ago
Luke Childs
9bc96c23ff
Make source nvm command example identical to internal one
9 years ago
Luke Childs
bbbb52a667
Make source nvm command clearer
9 years ago
Luke Childs
8709621973
Allow nullglobs when looking for binaries
9 years ago
Luke Childs
eef332636f
Add lazy loading support to node <0.12
9 years ago
Luke Childs
1c6d8dd15e
Refactor lazy loading
9 years ago
Luke Childs
2a9ee9e10f
Use `NVM_DIR` for lazy loading binary check
9 years ago
Luke Childs
9ebbf2f792
Use "%" char for shell prompt examples
9 years ago
Luke Childs
2e41031f16
Reword lazy loading section slightly
9 years ago
Luke Childs
41c2827f6e
Make lazy loading performance increase clearer
9 years ago
Luke Childs
f0709a21bb
Clarify `NVM_LAZY_LOAD` must be set before `zsh-nvm` is loaded
9 years ago
Luke Childs
17585ff03e
Remove experimental from lazy loading title
(So hash links don't break in the future)
9 years ago
Luke Childs
ffdfe46e33
Document `NVM_LAZY_LOAD` option
9 years ago
Luke Childs
dbd3183930
Reformat options section
9 years ago
Luke Childs
cade63ed94
Add `NVM_LAZY_LOAD` option
9 years ago
Luke Childs
639e7e9f5c
Add lazy loading
9 years ago
Luke Childs
c1517e0045
Remove unused function _zsh_nvm_get
9 years ago
Luke Childs
0107d4e486
Document `NVM_DIR` option
9 years ago
Luke Childs
e0be3a1bdf
Get latest release from git tags
9 years ago
Luke Childs
0ccae77ce2
Do proper empty string test rather than truthy
Truthy doesn't seem to work on older versions of zsh
5.0.2 fails, 5.1 works
9 years ago
Luke Childs
281614aacd
Export $NVM_DIR
9 years ago
Luke Childs
7a3747f0c7
Update usage in readme for new features
9 years ago
Luke Childs
86b7f6c1a9
Call `help` instead of `--help`
`--help` is only available on newer versions of nvm, `help` is backwards compatible
9 years ago
Luke Childs
a7b8594684
Add revert command
9 years ago
Luke Childs
781b46dede
Use default upgrade if it's built in
9 years ago
Luke Childs
96fa6aab57
Store previous nvm version when upgrading
9 years ago
Luke Childs
a6b8ef980f
Move new loading code into reusable function
9 years ago
Luke Childs
bb8bd30891
Update upgrade command in readme from `nvm_update` to `nvm upgrade`
9 years ago
Luke Childs
38f15b5ba5
Reword usage in readme
9 years ago