John Loy
d181abb628
Changes $path var to $node_path
...
Avoids obliteration of $path set earlier by Prezto/zsh. Stomping on $path causes dirname to not be in the PATH resulting in an error.
11 years ago
Jordan Harband
f5643dc7ea
v0.12.0
11 years ago
Jordan Harband
6bcac7f638
Merge pull request #480 from fjakobs/patch-1
...
install.sh: make sure to not error out if master branch does not exist
11 years ago
Fabian Jakobs
ad71389dcc
master branch might not exist
...
After a fresh install I was unable to run the installer again. It was breaking with the error
error: branch 'master' not found.
my fix makes sure that the installer continues after that.
11 years ago
Jordan Harband
8cbf149558
Merge pull request #408 from creationix/nvm_system_awareness
...
Add `system` awareness to `nvm use`, `nvm ls`, and `nvm current`.
11 years ago
Jordan Harband
e7ada80d08
`nvm use system` should work as expected.
11 years ago
Jordan Harband
9912f7cc46
If nvm is deactivated, display "none" or "system" instead of the system node version
11 years ago
Jordan Harband
6e02e5a54c
If `nvm_ls` is called without a pattern, and node exists, tack on "system".
11 years ago
Jordan Harband
42b010775b
Add `system` support to `nvm_print_versions`
11 years ago
Jordan Harband
1c50c5c7aa
Add nvm_tree_contains_path function
11 years ago
Jordan Harband
200a9aa97e
v0.11.2
11 years ago
Jordan Harband
4512337c11
Adding a slow `nvm current` test, since it needs an installed version of node.
11 years ago
Jordan Harband
55677dba4a
Avoid calling "nvm_ls current" and call "nvm_ls_current" directly
11 years ago
Jordan Harband
ca43ca21f5
Fix curl/wget detection. Fixes #478
11 years ago
Jordan Harband
fafbeb8c59
Merge pull request #479 from koenpunt/fix-args-replacement
...
string replacement turns out not POSIX compliant
11 years ago
Koen Punt
9c2127ce33
string replacement turns out not POSIX compliant
11 years ago
Jordan Harband
5ec0ccec1b
Fixing `make release` to also cover package.json.
...
Per a3de7f3222 (commitcomment-7057689)
11 years ago
Jordan Harband
7a423b7bb4
v0.11.1
11 years ago
Jordan Harband
a3de7f3222
Fixing `make release` - amending a tagged commit makes the commit not match the tag.
11 years ago
Jordan Harband
55d892adc8
Fix #476 by making sure to cd into `$NVM_DIR` before checking out the tag. Also delete the master branch, because we won't be needing that.
11 years ago
Jordan Harband
3b42df8d1d
Merge pull request #474 from mzgol/wget-hotfix
...
Hotfix: correctly map curl's `-C -` to wget
11 years ago
Michał Gołębiowski
21fa84225c
Hotfix: correctly map curl's `-C -` to wget
...
wget doesn't need or accept the `-` parameter to `-c`. This incorrect
mapping causes `nvm install` to fail on a curlless OS.
11 years ago
Jordan Harband
4895aebf0a
v0.11.0
11 years ago
Jordan Harband
8a29122d0a
Adding `teardown` to `test/fast/Listing versions/`
11 years ago
Jordan Harband
26ed7a003a
Making sure to quote this output, so that paths with spaces don't break the method.
...
Although tests were passing in Travis for #470 , they were failing locally - now they pass in both.
11 years ago
Jordan Harband
00ca5288b0
Merge pull request #470 from creationix/has_system_node
...
Adding nvm_has_system_node
11 years ago
Jordan Harband
6d2912a2ab
Adding nvm_has_system_node
11 years ago
Jordan Harband
1d61584402
Making sure this test cleans up after itself.
11 years ago
Jordan Harband
f6974744cd
Moving this nvm ls test inside the "listing versions" test subdir.
11 years ago
Jordan Harband
7171cbed6f
Add an `nvm_ls_current` function.
11 years ago
Jordan Harband
8f66273922
Merge pull request #467 from jsdevel/adding-current-symlink
...
Adding a symlink in .nvm to the current version.
Fixes #430 . Closes #447 . Relates to #358 . Fixes #355 . Closes #313 . Fixes #381 .
11 years ago
Jordan Harband
1a9ab82e24
Merge pull request #466 from creationix/nvm_ls_minor_versions
...
nvm_ls minor versions
11 years ago
jsdevel
3fa004293c
Adding a symlink in .nvm to the current version.
11 years ago
Jordan Harband
83efa2288d
Use [0-9] instead of [[:digit:]] per https://github.com/creationix/nvm/pull/466#discussion_r14853668 - it's simpler (and probably more portable).
11 years ago
Jordan Harband
4cfe62d3d1
Fixing `nvm ls 0.x` to only include `0.x.*` instead of `0.x*.*`
11 years ago
Jordan Harband
802f064178
Adding a failing test.
11 years ago
Jordan Harband
c49cb68575
Merge pull request #468 from egilkh/master
...
Should escape grep in nvm_ls
11 years ago
egilkh
0534872e0f
Should escape grep in nvm_ls
11 years ago
Olivier Mengué
f1b8cf8fd6
Use 'read' built-in instead of $(cat ... | head -n1)
11 years ago
Jordan Harband
78ff9a2215
Merge pull request #464 from koenpunt/release-task
...
add makefile release task
11 years ago
Koen Punt
b952be6f56
add makefile release task
11 years ago
Jordan Harband
638ae5c6fa
Hardcode latest version number into the install script.
...
Fixes #462 .
11 years ago
Jordan Harband
a7b6495172
Removing unnecessary line, per #461
11 years ago
Jordan Harband
703e43cc2b
Merge pull request #463 from mzgol/bash
...
Use bash, not sh for install scritps - followup to #450
11 years ago
Michał Gołębiowski
03636878d1
Use bash, not sh for install scritps - followup to #450
11 years ago
Jordan Harband
2ee4b6f414
Correcting nvm.sh comment wrt bash
11 years ago
Jordan Harband
10305f0791
Merge pull request #460 from koenpunt/patch-1
...
Finalize fix for #458
11 years ago
Koen Punt
276c031c60
Finalize fix for #458
11 years ago
Jordan Harband
63f72b37df
Followup per https://github.com/creationix/nvm/pull/452#issuecomment-48151847
11 years ago
Jordan Harband
cf5bfecec4
Merge pull request #452 from creationix/curl_wget_handling
...
Better combo curl/wget handling
11 years ago