Jordan Harband
9a4e9060d8
Don't bother testing --install option on source, or supporting it, unless the shell supports passing options upon sourcing.
10 years ago
Jordan Harband
3df0caefa5
Support `--install` option upon sourcing.
10 years ago
Jordan Harband
274369dc40
Remove trailing whitespace
10 years ago
Jordan Harband
bef3a5ce3a
v0.21.0
10 years ago
Jordan Harband
0cb8c9ac2f
Merge pull request #599 from ljharb/nvm_get_latest
...
Add `nvm_get_latest`
This relates to #522 , #561 , #400 .
`nvm_get_latest` uses http://latest.nvm.sh which redirects to https://github.com/creationix/nvm/releases/latest which in turn redirects to the latest release tag.
10 years ago
Jordan Harband
25c61594fe
Tests for `nvm_get_latest`
10 years ago
Jordan Harband
0a739e3fa9
Add `nvm_get_latest`
10 years ago
Jordan Harband
c0a20f2fa3
Update `semver`
10 years ago
Jordan Harband
2d78d69d4c
Properly outputting the version when nvm_version_path outputs the new "versions" subdirectory.
10 years ago
Jordan Harband
9e17b5059c
Return the proper exit code of `which` directly.
10 years ago
Jordan Harband
0ac2c787be
Merge pull request #597 from danielb2/which
...
Fix `nvm which` to use conventional direct path to program, like system `which`
10 years ago
Daniel Bretoi
99ca0de18f
revert echoing path. make tests even better
10 years ago
Daniel Bretoi
f196ace5dd
style
10 years ago
Daniel Bretoi
d1a90ca15c
work like system which. show system node without changing to use it
10 years ago
Jordan Harband
b3178ca925
Add "--quiet" to git commands post-install.
...
Mentioned in #595 .
10 years ago
Jordan Harband
b9df3fccb4
Remove trailing whitespace.
10 years ago
Jordan Harband
f408d68afc
Add `nvmrc` note to `nvm which` blurb.
10 years ago
Jordan Harband
fc3a30dd0e
Add `nvm which` to `bash_completion`
10 years ago
Jordan Harband
74b36b09ff
Merge pull request #583 from danielb2/which
...
Adds `nvm which`
10 years ago
Jordan Harband
080f2149ac
Update `urchin`
10 years ago
Jordan Harband
3bd148056e
Fixing deactivate tests.
...
Fixes #357 .
10 years ago
Jordan Harband
5edf013127
Merge pull request #591 from mklement0/fix_make_file
...
obsolete check for the urchin cross-shell test feature; fix for spurious...
10 years ago
Michael Klement
ae908cbff6
obsolete check for the urchin cross-shell test feature; fix for spurious warnings; improved robustness
10 years ago
Daniel Bretoi
7805492bda
merge with master
10 years ago
Daniel Bretoi
a1c0c34088
fix to proper echo of nvm which. Checkin test which had been left out
10 years ago
Daniel Bretoi
234b925c7a
style and remove nvm deactivate in nvm which
10 years ago
Jordan Harband
8964cb46d3
v0.20.0
10 years ago
Jordan Harband
383f39ab61
Global modules should not be requireable, and `npm root -g` should not be in `$NODE_PATH`.
...
Fixes #586 .
10 years ago
Jordan Harband
052743816f
$NODE_PATH is special, so this function shouldn't risk clobbering it.
10 years ago
Jordan Harband
7bbcd3a977
v0.19.0
10 years ago
Jordan Harband
e728577627
Rename `nvm copy-packages` to `nvm reinstall-packages`, and `--copy-packages-from` install option to `--reinstall-packages-from`
...
For #341 . `nvm copy-packages` and install option `--copy-packages-from` will continue to be supported for for at least a full minor release version.
10 years ago
Jordan Harband
c33074cb54
Tweaking formatting of help output; adding `nvm exec` example.
10 years ago
Jordan Harband
689c52c90d
Install nvm-exec as well when installing via script.
...
Fixes #553 .
10 years ago
Jordan Harband
5904d41b25
Fixing a bug in install_as_script, from 516e553093
10 years ago
Daniel Bretoi
0c33fd2598
change to use default behavior for which
10 years ago
Daniel Bretoi
c9a53fe0c7
include nvm which in documentaiton
10 years ago
Daniel Bretoi
8b25457b74
remove redundant lines from test file
10 years ago
Daniel Bretoi
ee520abf78
adding some tests for nvm which
10 years ago
Daniel Bretoi
b63042bd9f
forgot to append bin
10 years ago
Daniel Bretoi
382c3aa85e
implements nvm which
10 years ago
Jordan Harband
afba4e08fd
Temporarily disable ksh tests, per #574
10 years ago
Jordan Harband
ce82109229
Merge pull request #567 from xcambar/nvm_source
...
[install script] Refactors NVM_SOURCE
10 years ago
Xavier Cambar
516e553093
Refactors NVM_SOURCE
10 years ago
Jordan Harband
e28a257f23
Merge pull request #573 from mklement0/amend_travis_yml
...
.travis.yml now obtains latest urchin version from the npm registry
10 years ago
Michael Klement
2d8adac785
.travis.yml now obtains latest urchin version from the npm registry instead of directly from GitHub
10 years ago
Jordan Harband
bf4bf008ac
Update `urchin`
10 years ago
Jordan Harband
5f5eb47f14
v0.18.0
10 years ago
Jordan Harband
d09b84de3c
Ensure that a system has `manpath` before invoking it.
...
Closes #531 , fixes #557 .
10 years ago
Jordan Harband
4b6075e29b
Merge pull request #568 from mklement0/fix_make_file
...
Fixed Urchin invocation problem in zsh and dash. Makefile "future-proofed" to take advantage of true cross-shell testing with Urchin, once available.
10 years ago
Michael Klement
781f72c9c8
Makefile now makes use of the `-s <shell>` option for Urchin, IF it is available, for true cross-shell testing.
...
Conversely, a warning is issued if it is missing, because that implies that no actual cross-shell testing will take place.
Also, the shell command that determines the set of available test suites is now POSIX-compliant.
10 years ago