Jordan Harband
53f9841c6c
v0.17.0
2014-09-24 14:58:07 -07:00
Jordan Harband
444efdb08b
Adding some more quotes and $()
2014-09-23 23:51:02 -07:00
Jordan Harband
6fde379707
Use _ instead of ~ as a sentinel
2014-09-23 23:50:12 -07:00
Jordan Harband
ce69c8413e
More shellcheck recommendations
2014-09-23 23:49:51 -07:00
Jordan Harband
51f6109f8d
Use $() instead of backticks; add quotes
2014-09-23 23:49:10 -07:00
Jordan Harband
4f081ce4be
Collapsing some if/else conditions with elif
2014-09-23 23:48:31 -07:00
Jordan Harband
db0051753a
Compare shell variable contents with a sentinel.
2014-09-23 23:47:17 -07:00
Jordan Harband
cf1110ecea
Quote $NVM_DIR in commands
2014-09-23 23:46:23 -07:00
Jordan Harband
34b97bf76d
Adding shell var quotes in nvm alias
2014-09-23 17:23:37 -07:00
Jordan Harband
b962a590a2
Removing an extra mkdir -p
2014-09-23 17:23:09 -07:00
Jordan Harband
ddb25ed5a3
Merge pull request #530 from creationix/copy_packages_from_on_install
...
nvm install: Add --copy-packages-from option
2014-09-21 18:57:04 -07:00
Jordan Harband
486d14f5f8
Copy packages when applicable, whenever nvm install
would normally nvm use
and exit.
2014-09-21 18:25:15 -07:00
Jordan Harband
622fdd2cd0
Error out early if the --copy-packages-from version is invalid.
2014-09-21 18:03:11 -07:00
Jordan Harband
eddbe15ee8
Extract --copy-packages-from argument.
2014-09-21 18:03:11 -07:00
Jordan Harband
2e161fe414
nvm install: Remove this redundant "already installed" check.
2014-09-21 11:22:05 -07:00
Jordan Harband
a42b90d215
Adding some helpful output to nvm copy-packages
2014-09-21 11:02:03 -07:00
Jordan Harband
6bae6c07f2
Merge pull request #528 from creationix/remove_last_expr
...
Remove last usages of `expr`
2014-09-19 12:37:33 -07:00
Jordan Harband
7fd6d05426
Instead of using expr to check if paths need cleaning, compare cleaned paths to original paths and export appropriately.
2014-09-19 10:10:53 -07:00
Jordan Harband
5ef092b2c8
Using nvm_version_greater
and nvm_version_greater_than_or_equal_to
instead of expr
in nvm install
.
2014-09-19 10:10:37 -07:00
Jordan Harband
cb6456fd85
Using nvm_version_greater_than_or_equal_to
instead of nvm_version_greater
where it increases readability.
2014-09-19 10:10:01 -07:00
Jordan Harband
991fb85047
Adding nvm_version_greater_than_or_equal_to
2014-09-19 10:09:45 -07:00
Jordan Harband
edf36a8ea7
Merge pull request #526 from creationix/add_nvm_num_version_groups
...
Replace `expr` with `nvm_num_version_groups`
2014-09-16 10:13:57 -07:00
Jordan Harband
35466187f2
Noting the changed behavior of nvm ls vx.y.
to return something useful.
2014-09-16 09:03:48 -07:00
Jordan Harband
c992b1766c
Use nvm_num_version_groups
in nvm_ls
2014-09-16 09:03:47 -07:00
Jordan Harband
4b2bc0be08
Adding nvm_num_version_groups
2014-09-16 09:03:47 -07:00
Jordan Harband
15b3e7b6a8
Removing unnecessary cleanup in "Listing Versions" tests.
2014-09-16 09:03:47 -07:00
Jordan Harband
8d05ab63f1
Silencing error output in the "Listing Versions" teardown script.
2014-09-16 09:03:47 -07:00
Jordan Harband
da693eaea1
Tweaking nvm_ls_current tests.
2014-09-16 09:03:47 -07:00
Jordan Harband
5363ff8916
Merge pull request #525 from creationix/add_unit_tests
...
Add unit tests
2014-09-15 20:46:31 -07:00
Jordan Harband
e186fa27a7
Use nvm_version_greater
in nvm_binary_available
2014-09-15 09:20:47 -07:00
Jordan Harband
f6e0104685
Use nvm_normalize_version
in nvm_version_greater
2014-09-15 09:17:41 -07:00
Jordan Harband
97d4e2f88f
Unit tests: add nvm_find_up
2014-09-15 09:09:56 -07:00
Jordan Harband
e0a22ccf4a
Unit tests: add nvm_has
2014-09-15 09:09:51 -07:00
Jordan Harband
d5d66c34d9
If there's no "default" specified, fall back to an .nvmrc file.
2014-09-15 07:54:30 -07:00
Jordan Harband
152904e3fb
Return a nonzero exit code from nvm_rc_version when no .nvmrc found
2014-09-15 07:51:00 -07:00
Jordan Harband
64de890d07
v0.16.1
2014-09-14 22:24:18 -07:00
Jordan Harband
a4da8a48ef
Merge pull request #524 from creationix/run_installation_tests_separately
...
Run installation tests separately
2014-09-14 22:21:02 -07:00
Jordan Harband
354be52672
Correct installation test paths
2014-09-14 18:01:55 -07:00
Jordan Harband
ad604cc068
Only run the "installation" tests both with and without curl.
2014-09-14 17:25:17 -07:00
Jordan Harband
ba08fa31d8
Moving actual installation tests to their own suite.
2014-09-14 17:24:30 -07:00
Jordan Harband
13aadbcf31
Run slow tests in ksh too
2014-09-14 16:42:23 -07:00
Jordan Harband
7bb6e9c915
Merge pull request #523 from creationix/run_slow_nvmrc_tests_too
...
Actually run all tests; fix some bugs
2014-09-14 16:38:12 -07:00
Jordan Harband
3d3145f2e0
install: don't output "additional options" when there are none.
2014-09-14 16:04:51 -07:00
Jordan Harband
4c948cf422
install: Ensure that if a version is not provided, we don't try to shift a nonexistent argument.
2014-09-14 16:04:37 -07:00
Jordan Harband
f8054d5cae
copy-packages: ensure that nvm_version
is also applied to compare the provided version to the current one.
2014-09-14 16:04:25 -07:00
Jordan Harband
ad2713b13a
&>
is a bash-specific extension for redirecting both stdout and stderr.
2014-09-14 16:04:13 -07:00
Jordan Harband
243fc04164
Fixing these test files that have never been run
2014-09-14 16:04:04 -07:00
Jordan Harband
a80f958a1e
All 4 of these test files should be executable.
2014-09-14 16:03:55 -07:00
Jordan Harband
f6fef75f36
Use git in manual install instructions to determine the latest release tag, rather than hardcoding it.
...
Per 199ba53340
2014-09-13 11:37:19 -07:00
Jordan Harband
199ba53340
Fixing manual install instructions to use the version tag. Relates to #520
2014-09-13 00:59:09 -07:00
Jordan Harband
d1b6332bbe
v0.16.0
2014-09-11 00:58:09 -07:00
Jordan Harband
159d4c645e
Merge pull request #518 from creationix/nvm_copy_packages_system
...
Make `nvm copy-packages system` work
2014-09-05 09:05:27 -07:00
Jordan Harband
687df82107
Make nvm copy-packages system
work.
2014-09-05 00:43:12 -07:00
Jordan Harband
ff1781b95d
Make nvm copy-packages
refuse to copy packages from the currently activated version.
2014-09-05 00:42:59 -07:00
Jordan Harband
110e571c34
Make nvm ls system
work.
2014-09-05 00:29:20 -07:00
Jordan Harband
a7108e98f2
Make .bashrc be checked first on install.
...
From #511 . Closes #320 . Closes #268 . Closes #334 . Fixes #497 . Relates to
2014-09-04 00:54:50 -07:00
Jordan Harband
30b044a368
Merge pull request #511 from 16BITBoy/bashrc-support
...
Fix for nvm not being sourced to bash when using gnome-terminal in Ubuntu 14.04
2014-09-04 00:53:23 -07:00
Adrian Perez Heredia
825cb46969
Updated error message for missing profile file
2014-09-03 15:07:28 +02:00
Adrian Perez Heredia
ab56ec6675
This patch adds support for terminal emulators. Without this it wont work on gnome-terminal on Ubuntu
2014-09-03 15:07:27 +02:00
Jordan Harband
9d96e4a6bf
v0.15.0
2014-09-03 00:08:53 -07:00
Jordan Harband
a00a3a7429
Document NVM_SYMLINK_CURRENT env var from #514 .
2014-09-03 00:07:45 -07:00
Jordan Harband
1c3585e5a2
Merge pull request #508 from creationix/nvm_copy_packages_not_npm
...
Don't copy `npm` with `nvm copy-packages`
2014-09-03 00:01:03 -07:00
Jordan Harband
214ce8853b
npm ls
has a bug in some versions when "--parseable --depth=0" is used together.
2014-09-02 15:47:45 -07:00
Jordan Harband
d24dc662dc
Merge pull request #512 from kevinwang/shasum-lowest-priority
...
Make shasum the lowest priority checksum command.
2014-09-02 00:36:17 -07:00
Kevin Wang
e8056ac460
Run cleanup on die in nvm_checksum unit test.
2014-08-30 21:57:17 -05:00
Kevin Wang
429656bc41
Add unit tests for nvm_checksum.
2014-08-30 21:54:46 -05:00
Jordan Harband
b61445cbf4
Merge pull request #514 from stelcheck/master
...
Make the creation of a symlink an overridable default behaviour
2014-08-30 09:49:52 -07:00
Jordan Harband
603253b0cb
Quote the version.
2014-08-29 00:12:16 -07:00
Jordan Harband
5ee955bb62
Remove unused $ROOT variable.
2014-08-29 00:12:02 -07:00
stelcheck
83a0efb085
* We print stats only on failure
...
* || true
2014-08-29 15:01:15 +09:00
stelcheck
9306a9b3f0
* Unit tests
2014-08-29 14:57:30 +09:00
stelcheck
59939d09e8
* Make the creation of a symlink an overridable default behaviour
2014-08-28 22:45:07 +09:00
Jordan Harband
f9769e40dd
v0.14.0
2014-08-27 00:49:30 -07:00
Jordan Harband
9c44a3e4c7
Merge pull request #513 from creationix/node_0_6_21_pre
...
Add special handling for node v0.6.21-pre
2014-08-27 00:38:32 -07:00
Jordan Harband
5048a78376
Add special handling for node v0.6.21-pre
2014-08-26 23:53:17 -07:00
Kevin Wang
814319d7c0
Make shasum the lowest priority checksum command.
...
This fixes false "Checksums do not match" errors on systems where shasum
is a symlink to sha256sum or otherwise.
2014-08-27 00:06:41 -05:00
Jordan Harband
4b3d6f1760
Properly pass a space-separated list of packages to npm install
...
Fixes #490 .
2014-08-22 02:44:04 -07:00
Jordan Harband
56c40cfa3c
Don't try to copy npm
itself with nvm copy-packages
.
...
Fixes #504 .
2014-08-22 02:19:56 -07:00
Jordan Harband
fd9e01b7e6
Merge pull request #507 from creationix/nvm_ls_current_tests
...
nvm_ls_current tests
2014-08-22 01:59:14 -07:00
Jordan Harband
5c7f08843d
Add error checking to nvm_tree_contains_path
2014-08-21 17:15:53 -07:00
Jordan Harband
6e6c5c4e2a
Removing an invalid option to touch
from this test.
2014-08-21 17:19:43 -07:00
Jordan Harband
1c2c4788a2
Fixing nvm_version_greater tests.
...
Relates to #505 , #506 .
2014-08-21 23:42:51 -07:00
Jordan Harband
b59ecb9e11
Make sure the new versions
directory is filtered out of nvm_ls output (in zsh).
2014-08-21 23:39:40 -07:00
Jordan Harband
7551746e55
Merge pull request #505 from magicdrive/fix-error_nvm_version_greater
...
Fixed `nvm_version_greater` has syntax error in zsh-builtin command `[`
2014-08-21 22:42:05 -07:00
Jordan Harband
70ac1e7fa4
Fix tests so that they fail in zsh (for #505 )
2014-08-21 22:40:48 -07:00
Hiroshi IKEGAMI
f130d02efc
Fixed nvm_version_greater
has syntax error in zsh-buildin-command [
2014-08-22 10:59:11 +09:00
Jordan Harband
150aea21ec
Fixes #487 .
2014-08-21 16:51:24 -07:00
Jordan Harband
273f9d497a
Adding unit tests for nvm_ls_current. Relates to #487 .
2014-08-21 01:35:03 -07:00
Jordan Harband
1c85068091
Merge pull request #502 from creationix/nvm_version_path
...
Store versions 0.12.0 and newer in a `versions` subdirectory
2014-08-20 22:49:17 -07:00
Jordan Harband
42786630a1
Merge pull request #503 from egilkh/master
...
Should escape grep in copy-packages.
2014-08-20 10:03:57 -07:00
egilkh
938feca6a9
Should escape grep in copy-packages.
2014-08-20 15:09:40 +02:00
Jordan Harband
3747735980
Make sure nvm clear-cache
clears the versions directory as well.
2014-08-20 00:50:15 -07:00
Jordan Harband
5dd2d7e5d4
Make nvm ls
support listing the "versions" directory when it's present.
2014-08-20 00:42:50 -07:00
Jordan Harband
65c2435418
Making sure that versions are backed up when running tests.
2014-08-20 00:37:38 -07:00
Jordan Harband
0a695c5d2a
Modify nvm_version_path to use nvm_version_greater.
2014-08-20 00:18:29 -07:00
Jordan Harband
8fe677a644
Add nvm_version_greater
2014-08-20 00:01:06 -07:00
Jordan Harband
213ff003d0
Use nvm_version_path everywhere possible.
2014-08-19 16:17:18 -07:00
Jordan Harband
986abbf5db
Create nvm_version_path
2014-08-19 16:17:00 -07:00
Jordan Harband
a2da9abd6d
Use nvm_version_dir in nvm_version_path
2014-08-19 01:56:34 -07:00
Jordan Harband
9068dda110
Adding nvm_version_dir
2014-08-19 01:53:39 -07:00
Jordan Harband
6baa9a0918
Merge pull request #501 from creationix/fix_copy_packages
...
Fix nvm copy-packages
2014-08-16 02:35:15 -07:00
Jordan Harband
b8fe75e93a
Tests for nvm copy-packages
2014-08-16 01:58:39 -07:00
Jordan Harband
78a5e3fadf
Attempt to improve nvm copy-packages
2014-08-16 00:14:29 -07:00
Jordan Harband
5e54886cbc
Merge pull request #500 from creationix/run_slow_tests_on_all_shells
...
Run slow tests on all shells
2014-08-15 21:30:29 -07:00
Jordan Harband
d7849054f8
Apparently wget outputs to stderr, so let's make sure we're checking both stderr and stdout.
2014-08-15 20:47:55 -07:00
Jordan Harband
708ac80a55
Properly replace the -I curl option for the --server-response wget option.
2014-08-15 20:47:55 -07:00
Jordan Harband
d341d5e535
Run all slow tests on all shells
2014-08-08 12:16:22 -07:00
Jordan Harband
eef12cc2b3
v0.13.1
2014-08-08 11:48:54 -07:00
Jordan Harband
99c8b59a14
Make sure that $ARGS is evaluated natively rather than as a single string argument.
...
Fixes #494 .
2014-08-08 11:48:38 -07:00
Jordan Harband
abdc3f3c21
Run all fast tests without curl.
2014-08-07 13:53:12 -07:00
Jordan Harband
401ac45568
Merge pull request #477 from koenpunt/without-curl
...
add test without curl
2014-08-07 13:52:06 -07:00
Jordan Harband
61709c1f97
v0.13.0
2014-08-02 19:24:39 -07:00
Jordan Harband
1a8479ed31
Merge pull request #491 from creationix/nvm_exec
...
Add `nvm exec` command.
2014-08-02 19:23:05 -07:00
Jordan Harband
a703d3591f
Tweaking the readme description
2014-08-02 19:22:53 -07:00
Jordan Harband
1fa2acf5a7
Adding nvm exec tests.
2014-08-02 15:43:04 -07:00
Jordan Harband
d5c0e94166
Adding nvm exec
command.
2014-08-01 01:26:33 -07:00
Jordan Harband
6dc602b521
Ensure that nvm ls node
doesn't return "node_modules", for example.
2014-08-01 01:24:28 -07:00
Jordan Harband
1d37af162a
v0.12.2
2014-07-29 00:35:27 -07:00
Jordan Harband
781373f7ce
Make sure awk is referenced unaliased, per https://github.com/creationix/nvm/issues/162#issuecomment-50284503
2014-07-27 23:02:22 -07:00
Jordan Harband
68574cc7e8
v0.12.1
2014-07-24 14:07:26 -07:00
Jordan Harband
0f3b06320e
Merge pull request #481 from johnloy/master
...
Changes $path var to $node_path. Fixes #482 .
2014-07-24 14:07:05 -07:00
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.
2014-07-24 15:28:33 -04:00
Jordan Harband
f5643dc7ea
v0.12.0
2014-07-23 01:15:14 -07:00
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
2014-07-23 01:14:41 -07:00
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.
2014-07-23 10:08:58 +02:00
Jordan Harband
8cbf149558
Merge pull request #408 from creationix/nvm_system_awareness
...
Add `system` awareness to `nvm use`, `nvm ls`, and `nvm current`.
2014-07-21 22:55:27 -07:00
Jordan Harband
e7ada80d08
nvm use system
should work as expected.
2014-07-21 02:03:18 -07:00
Jordan Harband
9912f7cc46
If nvm is deactivated, display "none" or "system" instead of the system node version
2014-07-21 02:03:18 -07:00
Jordan Harband
6e02e5a54c
If nvm_ls
is called without a pattern, and node exists, tack on "system".
2014-07-21 02:03:18 -07:00
Jordan Harband
42b010775b
Add system
support to nvm_print_versions
2014-07-21 02:03:18 -07:00
Jordan Harband
1c50c5c7aa
Add nvm_tree_contains_path function
2014-07-21 02:03:04 -07:00
Jordan Harband
200a9aa97e
v0.11.2
2014-07-20 23:58:19 -07:00
Jordan Harband
4512337c11
Adding a slow nvm current
test, since it needs an installed version of node.
2014-07-20 23:41:11 -07:00
Jordan Harband
55677dba4a
Avoid calling "nvm_ls current" and call "nvm_ls_current" directly
2014-07-20 23:40:20 -07:00
Jordan Harband
ca43ca21f5
Fix curl/wget detection. Fixes #478
2014-07-18 13:18:09 -07:00
Jordan Harband
fafbeb8c59
Merge pull request #479 from koenpunt/fix-args-replacement
...
string replacement turns out not POSIX compliant
2014-07-18 13:15:13 -07:00
Koen Punt
d67f2b110d
string replacement turns out not POSIX compliant
2014-07-18 16:24:03 +02:00
Koen Punt
9c2127ce33
string replacement turns out not POSIX compliant
2014-07-18 16:21:20 +02:00
Koen Punt
423629c38b
add test without curl
2014-07-18 14:35:22 +02:00
Jordan Harband
5ec0ccec1b
Fixing make release
to also cover package.json.
...
Per a3de7f3222 (commitcomment-7057689)
2014-07-18 01:49:57 -07:00
Jordan Harband
7a423b7bb4
v0.11.1
2014-07-18 01:48:46 -07:00
Jordan Harband
a3de7f3222
Fixing make release
- amending a tagged commit makes the commit not match the tag.
2014-07-17 00:25:14 -07:00
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.
2014-07-17 00:20:33 -07:00
Jordan Harband
3b42df8d1d
Merge pull request #474 from mzgol/wget-hotfix
...
Hotfix: correctly map curl's `-C -` to wget
2014-07-16 10:16:18 -07:00
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.
2014-07-16 11:00:56 +02:00
Jordan Harband
4895aebf0a
v0.11.0
2014-07-15 10:52:30 -07:00
Jordan Harband
8a29122d0a
Adding teardown
to test/fast/Listing versions/
2014-07-15 02:01:01 -07:00
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.
2014-07-15 02:00:48 -07:00
Jordan Harband
00ca5288b0
Merge pull request #470 from creationix/has_system_node
...
Adding nvm_has_system_node
2014-07-15 00:03:25 -07:00
Jordan Harband
6d2912a2ab
Adding nvm_has_system_node
2014-07-14 21:41:26 -07:00
Jordan Harband
1d61584402
Making sure this test cleans up after itself.
2014-07-14 20:43:51 -07:00
Jordan Harband
f6974744cd
Moving this nvm ls test inside the "listing versions" test subdir.
2014-07-14 12:36:28 -07:00
Jordan Harband
7171cbed6f
Add an nvm_ls_current
function.
2014-07-14 11:29:24 -07:00
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 .
2014-07-13 11:23:27 -07:00
Jordan Harband
1a9ab82e24
Merge pull request #466 from creationix/nvm_ls_minor_versions
...
nvm_ls minor versions
2014-07-13 11:01:12 -07:00
jsdevel
3fa004293c
Adding a symlink in .nvm to the current version.
2014-07-12 12:01:35 -07:00
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).
2014-07-12 11:02:42 -07:00
Jordan Harband
4cfe62d3d1
Fixing nvm ls 0.x
to only include 0.x.*
instead of 0.x*.*
2014-07-12 11:02:42 -07:00
Jordan Harband
802f064178
Adding a failing test.
2014-07-12 11:02:14 -07:00
Jordan Harband
c49cb68575
Merge pull request #468 from egilkh/master
...
Should escape grep in nvm_ls
2014-07-12 11:02:09 -07:00
egilkh
0534872e0f
Should escape grep in nvm_ls
2014-07-12 19:33:28 +02:00
Olivier Mengué
f1b8cf8fd6
Use 'read' built-in instead of $(cat ... | head -n1)
2014-07-10 12:15:27 -07:00
Jordan Harband
78ff9a2215
Merge pull request #464 from koenpunt/release-task
...
add makefile release task
2014-07-10 12:14:23 -07:00
Koen Punt
b952be6f56
add makefile release task
2014-07-10 13:28:26 +02:00
Jordan Harband
638ae5c6fa
Hardcode latest version number into the install script.
...
Fixes #462 .
2014-07-10 01:24:12 -07:00
Jordan Harband
a7b6495172
Removing unnecessary line, per #461
2014-07-10 01:24:12 -07:00
Jordan Harband
703e43cc2b
Merge pull request #463 from mzgol/bash
...
Use bash, not sh for install scritps - followup to #450
2014-07-10 01:22:39 -07:00
Michał Gołębiowski
03636878d1
Use bash, not sh for install scritps - followup to #450
2014-07-10 10:21:03 +02:00
Jordan Harband
2ee4b6f414
Correcting nvm.sh comment wrt bash
2014-07-09 18:30:52 -07:00
Jordan Harband
10305f0791
Merge pull request #460 from koenpunt/patch-1
...
Finalize fix for #458
2014-07-08 10:26:24 -07:00
Koen Punt
276c031c60
Finalize fix for #458
2014-07-08 14:49:24 +02:00
Jordan Harband
63f72b37df
Followup per https://github.com/creationix/nvm/pull/452#issuecomment-48151847
2014-07-07 15:40:59 -07:00
Jordan Harband
cf5bfecec4
Merge pull request #452 from creationix/curl_wget_handling
...
Better combo curl/wget handling
2014-07-07 15:03:31 -07:00
Jordan Harband
77c3f20956
Merge pull request #459 from koenpunt/curl_wget_handling
...
fix nvm_curl arguments for stdout
2014-07-07 14:28:37 -07:00
Jordan Harband
e4ada9fa43
Revert part of the change from e0537ce3df
, fixes #458
2014-07-07 14:22:49 -07:00
Koen Punt
a0de15d0f7
fix nvm_curl arguments for stdout
2014-07-07 23:16:20 +02:00
Jordan Harband
df4689fbd2
Removing an extra "echo"
2014-07-07 13:59:58 -07:00
Jordan Harband
018e47bec0
Make sure both wget and curl work.
2014-07-07 13:32:10 -07:00
Jordan Harband
74cc1eb022
Make nvm_curl
do a runtime check if curl
is available.
2014-07-07 13:32:10 -07:00
Jordan Harband
eda8ffbcc4
Add some more curl → wget argument munging
2014-07-07 13:32:10 -07:00
Jordan Harband
b9383c9016
Use nvm_curl
instead of curl
directly, which has a wget
fallback.
2014-07-07 13:32:10 -07:00
Jordan Harband
25c0be1e20
Using an nvm_curl
function instead of curl
/wget
directly.
2014-07-07 13:32:10 -07:00
Jordan Harband
a8233eb68c
Merge pull request #457 from koenpunt/patch-1
...
Add newline to printf command
2014-07-07 13:02:23 -07:00
Koen Punt
ea198c9a19
add newline to printf
2014-07-07 14:43:02 +02:00
Jordan Harband
e0537ce3df
Shellcheck recommendations.
2014-07-05 13:48:23 -07:00
Jordan Harband
cce5df35ba
Naming install.sh
functions more explicitly as being for nvm
.
2014-07-05 13:44:00 -07:00
Jordan Harband
7e269961c3
In install.sh
, rename has
to nvm_has
for consistency with nvm.sh
.
2014-07-05 13:42:44 -07:00
Jordan Harband
f214ffaf1f
Oxford comma
2014-07-05 11:07:14 -07:00
Jordan Harband
d016fe010a
Merge pull request #450 from mzgol/install-script
...
Use bash, not sh for install scritps
2014-07-03 00:50:31 -07:00
Michał Gołębiowski
fb5a51b1b7
Use bash, not sh for install scritps
...
Install scripts don't work in pure sh; they may work on some systems where
the /bin/sh binary actually implements more than the pure Bourne Shell but
fail on other ones (e.g. Ubuntu).
Just using bash works.
2014-07-02 14:58:56 +02:00
Jordan Harband
3e5037a1be
v0.10.0
2014-06-26 17:06:45 -07:00
Jordan Harband
60fec40613
Merge pull request #444 from creationix/fix_nvm_ls
...
Make sure `nvm ls foo` returns a nonzero exit code when a version is not found
2014-06-26 17:04:09 -07:00
Jordan Harband
fb215546ee
Don't bother trying to return the exit code of nvm alias
or nvm_print_versions
2014-06-26 16:52:48 -07:00
Jordan Harband
4b593bcda2
Make sure these vars are local, where supported
2014-06-26 16:52:34 -07:00
Jordan Harband
8349f0ff48
Make sure nvm ls foo
returns a nonzero exit code when a version is not found.
...
Fixes #440 .
2014-06-26 10:28:35 -07:00
Jordan Harband
bb250b5730
v0.9.0
2014-06-26 10:28:14 -07:00
Jordan Harband
b6f1c156da
Use printf instead of echo -e
...
Fixes #446
2014-06-26 10:26:57 -07:00
Jordan Harband
4c9a36e9ad
Separating variable declaration from first assignment, which should fix some ksh problems.
2014-06-22 15:44:22 -07:00
Jordan Harband
bb01513eba
Making sure there's test coverage for nvm i
2014-06-22 09:18:41 -07:00
Jordan Harband
ba7f27dead
Silently support nvm i x.x.x
. Fixes #443 .
2014-06-22 09:16:30 -07:00
Jordan Harband
79ec957ee7
Removing reference to NVM_PROFILE in README. Fixes #442
2014-06-21 17:47:02 -07:00
Jordan Harband
d8b55652a5
Return the exit code of nvm use
when nvm install
-ing.
2014-06-20 11:49:06 -07:00
Jordan Harband
4c38f507f5
Consistently returning exit code 1 when version is not installed yet.
2014-06-20 11:45:25 -07:00
Jordan Harband
f213167ef0
Returning exit code 3 when no version is found.
2014-06-20 11:45:14 -07:00
Jordan Harband
1da31aa425
v0.8.0
2014-06-20 11:35:18 -07:00
Jordan Harband
519a9481e6
Merge pull request #438 from koenpunt/patch-2
...
Suppress output of `nvm use`
2014-06-18 00:08:06 -07:00
Koen Punt
b16bf303ca
Suppress output of nvm use
...
+redirect errors to stdout
2014-06-18 08:54:14 +02:00
Jordan Harband
9a28706688
Merge pull request #436 from koenpunt/stderr
...
redirect output of errors to stderr
2014-06-16 16:37:31 -07:00
Koen Punt
a318ddf9b3
redirect stderr to stdout in test
2014-06-17 01:22:17 +02:00
Koen Punt
8dbbc32905
redirect errors to stderr
2014-06-17 01:22:12 +02:00
Jordan Harband
de03007348
Merge pull request #432 from ajcrites/master
...
Only list extant explicit version
2014-06-12 11:55:56 -07:00
Andrew Crites
1b22c2e2b1
Including test for specific version listing
...
This fixes the issue of nvm ls v[:digit:].[:digit:].[:digit:] listing the version even if it isn't available
2014-06-12 14:01:26 -04:00
Andrew Crites
0e1f2408c9
Only list extant explicit version
2014-06-12 10:56:20 -04:00
Jordan Harband
931cc45fc3
Merge pull request #428 from koenpunt/export-nvm-dir-in-profile
...
export NVM_DIR in profile before sourcing nvm.sh
2014-05-29 16:04:25 -07:00
Jordan Harband
085e314a3f
Adding a trailing newline
2014-05-28 20:54:25 -07:00
Jordan Harband
6aa45732d8
Merge pull request #376 from koenpunt/nvm-unload
...
Feature: nvm unload
2014-05-28 20:53:50 -07:00
Koen Punt
16c0be8314
export NVM_DIR before sourcing nvm.sh
2014-05-28 14:32:01 +02:00
Jordan Harband
578a601b27
Filter out of nvm ls
things that start with a dot. Fixes #421 , closes #422 .
2014-05-20 10:36:12 -07:00
Jordan Harband
896aa7c436
Updating CONTRIBUTING guidelines
...
Fixes #425
2014-05-19 22:05:13 -07:00
Jordan Harband
2441b00262
Merge pull request #417 from koenpunt/travis_tweaks
...
Split tests by shell
2014-05-10 10:13:53 -07:00
Koen Punt
88595f09aa
remove fast task
2014-05-10 19:03:50 +02:00
Koen Punt
5925bd5e37
make suite for shell task configurable
2014-05-10 18:59:34 +02:00
Koen Punt
24e22dd8bc
no need for the extra task, every shell name is already a task
2014-05-10 12:27:11 +02:00
Koen Punt
61de5f9ca3
enable slow test suite for sh
2014-05-10 12:15:19 +02:00
Jordan Harband
4de9eff55c
Merge pull request #416 from koenpunt/patch-2
...
Use correct variables
2014-05-09 10:49:43 -07:00
Koen Punt
7e20a77c89
pass env vars to makefile
2014-05-09 16:42:04 +02:00
Koen Punt
8fbbeb8fc5
ensure correct shell usage
2014-05-09 16:30:04 +02:00
Koen Punt
79203ba5d0
split tests by shell
2014-05-09 16:23:14 +02:00
Koen Punt
2e3e48cc06
Use correct variables
2014-05-09 15:36:44 +02:00
Jordan Harband
db8acf11fd
v0.7.0
2014-05-08 10:30:52 -07:00
Jordan Harband
a6be718387
Fixing --version output format.
2014-05-08 10:30:34 -07:00
Jordan Harband
e2c4c88136
Updating example node versions.
2014-05-08 10:30:18 -07:00
Jordan Harband
4cd0b078d0
Merge pull request #415 from koenpunt/fix-path-concat
...
utility method for append path, fixes #414
2014-05-08 10:27:17 -07:00
Koen Punt
f6ba08253b
utility method for append path, fixes #414
2014-05-08 10:20:11 +02:00
Jordan Harband
0ecb2879b9
Merge pull request #412 from koenpunt/fix-sed
...
Use sed -e instead of -E
2014-05-07 10:32:00 -07:00
Koen Punt
e3b84499c2
use regex triplet, add unit test
2014-05-07 10:58:21 +02:00
Koen Punt
b313f62749
Use sed -e instead of -E
2014-05-07 10:58:18 +02:00
Jordan Harband
7f3a794d89
Merge pull request #409 from koenpunt/sed-path-replacement
...
Use sed for *PATH stripping
2014-05-06 01:37:49 -07:00
Jordan Harband
ba1be9b4ea
Making nvm install
use the version, even if it's already installed. Fixes #410
2014-05-05 23:32:39 -07:00
Koen Punt
652a9ef9b5
always apply path stripping
2014-05-06 00:00:25 +02:00
Koen Punt
0d81a219ae
add quotes
2014-05-05 22:05:02 +02:00
Koen Punt
d6e457354f
use nvm_strip_path utility method for path stripping
2014-05-05 22:03:11 +02:00
Koen Punt
6668dc5c47
remove parentheses
2014-05-05 21:50:59 +02:00
Koen Punt
3d9c1d7852
use sed for *PATH stripping
2014-05-05 21:43:22 +02:00
Jordan Harband
29f582611b
v0.6.1
2014-05-04 12:40:02 -07:00
Jordan Harband
673cda56c4
Adding a test for nvm install invalid
behavior, and correcting the message.
...
From f00d688c87 (commitcomment-6205164)
2014-05-04 12:03:26 -07:00
Jordan Harband
e562a5645b
v0.6.0
2014-05-04 02:20:31 -07:00
Jordan Harband
c0c5e8d7ef
Editing README to note improved .nvmrc behavior.
2014-05-04 02:20:24 -07:00
Jordan Harband
f00d688c87
Nicer failure message when trying to install an invalid version. Fixes #285 .
2014-05-04 00:59:08 -07:00
Jordan Harband
5aa78f21cf
Merge branch 'nvmrc' - Fixes #404
2014-05-04 00:47:16 -07:00
Jordan Harband
4a7275a0c6
Ensuring paths are in quotes, to preserve spaces.
2014-05-04 00:39:46 -07:00
Jordan Harband
c77be55cdc
Updating "nvm run" tests.
2014-05-04 00:39:32 -07:00
Jordan Harband
e195fccdb7
Escaping backticks
2014-05-03 23:29:21 -07:00
Jordan Harband
87516039a8
Using portable conditional syntax.
2014-05-02 23:28:42 -07:00
Koen Punt
80e349edb1
locate .nvmrc without find
...
instead of using find and actually cd'ing into directories
we're now using simple string replacement on the `pwd`
2014-05-02 23:02:34 -07:00
Jordan Harband
038c1f3d0f
Find .nvmrc
files upwards.
2014-05-02 23:02:34 -07:00
Jordan Harband
66455f7c77
Refactor so "finding .nvmrc" can be done in a bash function.
2014-05-02 23:02:34 -07:00
Jordan Harband
a69eae10e3
Merge pull request #405 from reqshark/master
...
github raw served from new subdomain
2014-04-26 10:03:41 -07:00
Bent Cardan
13b87449e8
github raw served from new subdomain
2014-04-26 03:48:06 -04:00
Jordan Harband
222250f2d1
v0.5.1
2014-04-25 10:47:59 -07:00
Jordan Harband
77f4490391
Using markdown footnotes.
2014-04-25 10:47:07 -07:00
Jordan Harband
0871131dfd
Make sure nvm-exec can use .nvmrc logic. Fixes #402 , obviates #403 .
2014-04-25 10:38:21 -07:00
Jordan Harband
e6bd207624
When auto-printing "help" on a command other than "help", return a nonzero exit code.
2014-04-25 10:35:52 -07:00
Jordan Harband
bad79e6d77
v0.5.0
2014-04-20 00:36:12 -07:00
Jordan Harband
d07fa2db10
Merge pull request #399 from creationix/run_use_nvmrc
...
Make sure `nvm run` works without a version argument when .nvmrc specifies a version
2014-04-20 00:35:59 -07:00
Jordan Harband
20953ab04c
Make sure nvm run
works without a version argument when .nvmrc specifies a version.
2014-04-20 00:28:07 -07:00
Jordan Harband
4cf940153c
Use node 0.9 for these testsso that people aren't likely to have it installed
2014-04-19 23:41:36 -07:00
Jordan Harband
47bbf93f50
Travis CI defaults to ruby; c will be faster
2014-04-19 22:59:30 -07:00
Jordan Harband
7976a1343f
Merge pull request #398 from creationix/install_use_nvmrc
...
`nvm install` and `nvm run` use .nvmrc when version not provided
2014-04-19 22:36:33 -07:00
Jordan Harband
bf8abf1052
Make sure nvm install
works without a version argument when .nvmrc specifies a version.
2014-04-19 17:07:00 -07:00
Jordan Harband
eb6031cb58
Clean up after existing nvm install
tests.
2014-04-19 17:00:06 -07:00
Jordan Harband
55a6f1f06e
Organizing nvm install
tests better.
2014-04-19 16:48:43 -07:00
Jordan Harband
c188c1b11a
Correcting help text for nvm use
2014-04-19 16:46:22 -07:00
Jordan Harband
b15ea07067
Don't clobber the latest version of 0.10 for tests.
2014-04-19 16:46:17 -07:00
Jordan Harband
752c0e4ef1
Removing trailing whitespace.
2014-04-19 14:34:47 -07:00
Jordan Harband
49364532b3
Merge pull request #391 from koenpunt/patch-1
...
Link to latest version of install script (0.4.0)
2014-03-27 10:19:44 -07:00
Koen Punt
9157cb4cfe
Link to latest version of install script (0.4.0)
2014-03-27 10:19:00 +01:00
Jordan Harband
6dde4aac38
v0.4.0
2014-03-26 21:31:48 -07:00
Jordan Harband
96635cd2bd
Merge pull request #371 from koenpunt/single-installer
...
Merged installer and gitless installer into one
2014-03-26 21:30:00 -07:00
Koen Punt
5342b6a04c
Emulate curl with wget
2014-03-26 11:14:09 +01:00
Koen Punt
2d0c025c49
Prevent fallback
2014-03-26 11:14:08 +01:00
Koen Punt
6ed93f4c01
Force install method by setting METHOD=git/script
2014-03-26 11:14:08 +01:00
Koen Punt
3c2719a85e
fix
2014-03-26 11:14:08 +01:00
Koen Punt
c47f03f996
Display error when unable to update
2014-03-26 11:11:26 +01:00
Koen Punt
300022642a
git, curl and wget now all in one installer
2014-03-25 20:53:05 +01:00
Koen Punt
bce3abaa4b
use comparison opts
2014-03-25 20:52:30 +01:00
Koen Punt
9f6280265a
updated README
2014-03-25 20:52:30 +01:00
Koen Punt
7211c9ee29
updated output without special characters (tab; \t)
...
Omit duplicate 'finish line'
normalized indentation
2014-03-25 20:51:39 +01:00
Koen Punt
246caa8581
Updated source string, use hard path as NVM is not always installed in $HOME/.nvm
2014-03-25 20:51:39 +01:00
Koen Punt
1fac49f887
replaced undocumented option for specifying the profile as first argument to specifying it as a environment variable (eg: PROFILE=~/.myprofile ./install-gitless.sh)
...
also; fixed indentation and added .zshrc as possible profile
2014-03-25 20:51:39 +01:00
Koen Punt
d2422a623a
made NVM_DIR and NVM_SOURCE configurable using environment variables
2014-03-25 20:51:39 +01:00
Koen Punt
fcc00b22b7
don't make use of pushd and popd as they are not universal
2014-03-25 20:51:39 +01:00
Koen Punt
0787a55999
replaced fatalExit function for 'inline' exit
...
exit on errors (set -e)
simplified if for NVM_DIR and NVM_SOURCE, corrected indentation
2014-03-25 20:51:39 +01:00
Jordan Harband
7c45d62b37
Merge pull request #388 from koenpunt/small-fixes
...
Use NVM_ prefix for non local variables
2014-03-23 11:56:09 -07:00
Koen Punt
703acb0514
Added test for nvm unload
2014-03-23 16:44:40 +01:00
Koen Punt
744507b83e
added nvm unload method to remove nvm from shell
2014-03-23 16:44:37 +01:00
Koen Punt
ec7909dcd3
Use NVM_ prefix for variables
2014-03-23 16:42:38 +01:00
Jordan Harband
cf5f195d75
Merge pull request #387 from koenpunt/patch-1
...
Add travis badge to README
2014-03-22 14:00:46 -07:00
Koen Punt
9f0520cdd0
Add travis badge to README
2014-03-22 21:19:43 +01:00
Jordan Harband
d950c1a0ea
Adding a trailing newline
2014-03-22 13:10:18 -07:00
Jordan Harband
6123fbcd31
Merge pull request #386 from koenpunt/multi-shell-test
...
Add Makefile for multishell testing
2014-03-22 13:08:50 -07:00
Koen Punt
def7ec5364
install shells before running tests
2014-03-22 18:51:39 +01:00
Koen Punt
52a384a0cc
Add Makefile for multishell testing
...
updated nvm current test for zsh
2014-03-22 18:47:15 +01:00
Jordan Harband
ba1e2f1cdf
Merge pull request #382 from koenpunt/version-normalizing
...
Fix nvm ls for v* numbers
2014-03-21 09:30:19 -07:00
Jordan Harband
625e54880f
Merge pull request #374 from koenpunt/fix-tests
...
Fix NVM_DIR discovery
2014-03-21 09:27:13 -07:00
Jordan Harband
cebda7d35a
When curl is not present, immediately bail out of nvm install
with a nonzero exit code. Fixes #385 .
2014-03-21 09:23:30 -07:00
Koen Punt
4a9a15c404
Fix NVM_DIR discovery
2014-03-21 10:03:16 +01:00
Jordan Harband
31c5406780
Adding an nvm --version
command
2014-03-20 23:21:01 -07:00
Koen Punt
a34c080d77
Fix nvm ls for v* numbers
...
Previously calling nvm ls with v* number (nvm ls v0.2)
would not return any results.
So now the v is prepended if its not already there
2014-03-18 10:53:57 +01:00
Koen Punt
0b97ee1d2a
Failing test for when using nvm ls with v* version
2014-03-18 10:49:44 +01:00
Jordan Harband
1ded21c10d
Merge pull request #383 from koenpunt/nvm-prefixed
...
define all functions with nvm_ prefix
2014-03-17 18:07:00 -07:00
Koen Punt
e30424d22f
define all functions with nvm_ prefix
2014-03-18 01:41:02 +01:00
Jordan Harband
78e7aa6b67
Merge pull request #380 from koenpunt/fix-current-test
...
Double == causes error on travis (dash shell)
2014-03-17 12:05:26 -07:00
Koen Punt
ae4c841742
Double == causes error on travis (dash shell)
2014-03-17 19:44:40 +01:00
Jordan Harband
4f9324c439
Merge pull request #377 from koenpunt/remove-obscure-echo-test
...
Replaced echo for printf when using formatted strings
2014-03-17 10:02:54 -07:00
Jordan Harband
020f61500f
Merge pull request #378 from koenpunt/ci
...
Added travis config, fixed tests for use on travis
2014-03-17 09:59:42 -07:00
Koen Punt
38a0c997e2
Added travis config, fixed tests for use on travis
2014-03-17 14:33:25 +01:00
Koen Punt
70f1734c12
updated tests for altered output
2014-03-17 13:24:24 +01:00
Koen Punt
1d40a5bc8b
Replaced echo for printf when using formatted strings
...
Updated version list, now also compatible with zsh
2014-03-17 13:19:39 +01:00
Jordan Harband
db4c582d79
Merge pull request #366 from messju/nvm_version_fix
...
fixed nvm_version result when multiple versions match the given pattern
2014-03-15 13:17:36 -07:00
messju mohr
e46ee7b30b
added test for using the latest of two versions
2014-03-15 20:42:38 +01:00
messju mohr
f82f38be90
fixed nvm_version result when multiple versions match the given pattern
2014-03-15 20:42:38 +01:00
Jordan Harband
3a21485050
Files should end in trailing newlines
2014-03-15 11:41:50 -07:00
Jordan Harband
e6887d500f
Merge pull request #319 from koenpunt/nvm-exec
...
nvm exec wrapper to execute commands with a specific node version
2014-03-15 11:40:02 -07:00
Jordan Harband
472d23b990
Merge pull request #372 from koenpunt/patch-1
...
Use has util method and use comparison opts
2014-03-15 10:48:41 -07:00
Koen Punt
1a19de9d20
Use has util method and use comparison opts
2014-03-15 15:59:46 +01:00
Koen Punt
f3d1770e3e
nvm exec wrapper to execute commands with a specific node version
2014-03-15 15:58:32 +01:00
Jordan Harband
ba2a850253
Adding a CONTRIBUTING.md file
2014-03-14 23:21:31 -07:00
Jordan Harband
618a372f38
Unset the executable bit on nvm.sh, since it's meant to be sourced
2014-03-14 22:10:52 -07:00
Jordan Harband
a09a028c38
Merge pull request #270 from hachre/patch-1
...
Switch from /bin/sh to /bin/bash
2014-03-14 22:10:07 -07:00
Jordan Harband
d78905988e
Merge pull request #310 from danieltdt/grep-options
...
Overwritting GREP_OPTIONS on local script
2014-03-14 13:10:56 -07:00
Daniel Teixeira
8cceae3cc1
Overwritting GREP_OPTIONS on local script
...
(recommiting to automerge into current master)
2014-03-14 14:58:51 -03:00
Jordan Harband
192e381971
Merge pull request #370 from jpadilla/patch-1
...
Detect if curl or wget is installed to download NVM_SOURCE
2014-03-13 14:26:44 -07:00
José Padilla
966ff0e1b0
Fix for running with bash, sh, and zsh
2014-03-13 10:31:34 -04:00
José Padilla
b90a0a811e
Use 2-space indentation for consistency
2014-03-12 14:33:00 -04:00
José Padilla
25ca41c9dc
Detect if curl or wget is installed
2014-03-12 09:07:48 -04:00
Jordan Harband
0d44ed1126
Merge pull request #364 from frasertweedale/fix/portability
...
Fix/portability
2014-03-04 17:31:17 -08:00
Jordan Harband
dc53a37d4f
Merge pull request #277 from frasertweedale/fix/freebsd-sha1
...
support FreeBSD's sha1(1) for integrity checks
2014-02-27 01:25:23 -08:00
Fraser Tweedale
332ae1afcb
use a more portable release in install tests
...
The tests for nvm install currently install v0.8.6, which doesn't
build on FreeBSD due to Linuxisms. Switch to a more recent version
that does work.
2014-02-22 12:20:15 +10:00
Fraser Tweedale
9108a7f7fa
remove duplicate install test
...
`test/slow/install` is identical to `test/slow/install from source`
except in the version installed. Remove it.
2014-02-22 12:20:15 +10:00
Fraser Tweedale
3b21b76106
fix install from source on FreeBSD 10
...
Compile with CXX=c++ on FreeBSD, as FreeBSD >= 10.0 no longer has
GCC in the base system (c++ is hardlinked to clang++ on FreeBSD 10.0
and g++ on FreeBSD < 10).
2014-02-22 11:58:39 +10:00
Fraser Tweedale
dcba513108
address remaining comments from #363
2014-02-22 11:25:45 +10:00
Fraser Tweedale
e6a5374bfb
colorize output only if echo supports it
2014-02-22 00:06:53 +10:00
Fraser Tweedale
8cba9c5781
avoid nullglob in alias command
2014-02-22 00:00:10 +10:00
Fraser Tweedale
1d6145de5a
fix explicit version matching on FreeBSD
...
FreeBSD's regular expression library does not like the pattern used
for matching explicit version strings in `nvm_ls`. Change the
pattern to something more specific that works on FreeBSD.
2014-02-21 23:25:45 +10:00
Fraser Tweedale
ca0c8a7f1d
handle echo implementations that do not support -e
2014-02-21 22:10:17 +10:00
Fraser Tweedale
21771e7369
fix logic error in nvm deactivate test
2014-02-21 21:06:53 +10:00
Fraser Tweedale
a3331ffdb0
fix errors due to use of unportable == operator
...
The `==` operator is not defined by POSIX and many test(1) (also
spelled `[`) implementations do not support it. Replace uses of
`==` with the POSIX-conformant `=` equality operator.
2014-02-21 21:05:40 +10:00
Fraser Tweedale
4a5f5203d0
fix errors and portability issues in expr commands
...
Add double-quotes around all expr(1) left-hand-sides where the
argument is just a variable, to prevent syntax errors when the
variable is empty.
Also avoid the `expr match ...` variant as this is not defined in
POSIX and causes errors in some implementations, including
FreeBSD's.
2014-02-21 20:52:50 +10:00
Fraser Tweedale
ee6d4ab074
fix ls command in dash
...
The `colorize_version` command fails in dash (default /bin/sh on
Ubuntu) with an error like:
local: v0.2.3: bad variable name
Instead of using a local variable, interpolate the function argument
directly to avoid the error.
2014-02-21 20:24:27 +10:00
Fraser Tweedale
8925419e90
tests: avoid reliance on nullglob
...
Some shells do not have a nullglob feature, including dash (default
/bin/sh on Ubuntu) and the Almquist shell (default /bin/sh on
FreeBSD). An mv(1) command in setup_dir is failing due to a glob
not matching anything, so use a more widely supported construction.
2014-02-21 19:21:03 +10:00
Dr. Kibitz
0f709eafa0
Missed tests
2014-02-18 22:07:25 -08:00
Dr. Kibitz
a9be598241
Remove some new bashisms
2014-02-18 21:57:59 -08:00
Dr. Kibitz
9a0c269713
Redo https://github.com/creationix/nvm/pull/345
2014-02-18 21:51:39 -08:00
Fraser Tweedale
0c8410fcc3
support FreeBSD's sha1(1) for integrity checks
...
In the absense of shasum(1) (which on FreeBSD is provided by Perl,
from ports) nvm falls back to sha1sum(1) which does not exist on
FreeBSD. But FreeBSD does have sha1(1) so look for sha1(1) and use
it if present.
As part of this change, refactor the execution of the checksum
program down into nvm_checksum and also clean up some special-casing
of empty dist checksums, which is already handled by nvm_checksum.
2014-02-18 22:22:46 +10:00
Jordan Harband
12d7b6fa0c
Merge pull request #361 from drkibitz/local-vars
...
Declare more variables as local
2014-02-16 11:20:21 -08:00
Jordan Harband
274652e10e
Fix nvm ls-remote and display uninstalled versions again. Fixes #359 , closes #360
2014-02-16 09:35:05 -08:00
Dr. Kibitz
2e9558cbf9
Declare more variables as local
2014-02-16 01:05:24 -08:00
Jordan Harband
13781f242b
Create a colorize_version
function that doesn't include the padding, for nvm version
2014-02-15 18:12:24 -08:00
Jordan Harband
b6469ee186
Preventing an extra leading newline.
2014-02-15 18:12:24 -08:00
Jordan Harband
304cc29cf0
Fixing indentation and adding a trailing newline.
2014-02-15 16:02:27 -08:00
Jordan Harband
0d5ee024d1
Merge pull request #356 from geekjuice/master
...
Change variable name to fix zsh parse issue
2014-02-11 20:38:09 -08:00
Nicholas Hwang
9a88e3656c
Change variable name to fix zsh parse issue
2014-02-11 22:55:02 -05:00
Jordan Harband
c19535a3f5
Merge pull request #354 from simontabor/patch-1
...
don't curl if version is specified + installed
2014-02-07 10:32:23 -08:00
Simon Tabor
9af7409e4a
don't curl if version is specified + installed
...
Removes CURL to match the version pattern if an explicit version (e.g. `v0.10.25`) is specified and already installed.
2014-02-06 13:02:57 +00:00
Jordan Harband
eca6118023
Merge pull request #352 from gdi2290/patch-1
...
update copyright year range in readme
2014-02-03 19:30:52 -08:00
PatrickJS
50485d641b
update copyright year range in readme
2014-02-03 17:07:56 -08:00
Jordan Harband
cd378cb170
Merge pull request #351 from gdi2290/patch-1
...
update copyright year range
2014-02-03 14:27:25 -08:00
PatrickJS
db7e0976f2
update copyright year range
2014-02-03 13:41:27 -08:00
Jordan Harband
ecb7a15baa
Using our conventional NVM_ prefix for env vars.
...
Per https://github.com/creationix/nvm/pull/245#issuecomment-33821443
2014-01-31 10:01:37 -08:00
Jordan Harband
5f225cd625
Merge pull request #245 from rgbkrk/mirror_z
...
Add mirror option for node binaries. Relates to #255 .
2014-01-30 21:25:46 -08:00
Kyle Kelley
8599ea29f9
Add dist to path, add docs
2014-01-30 19:22:44 -08:00
Kyle Kelley
b1d0cfa77b
Added mirror option for node binaries
2014-01-30 19:16:36 -08:00
Jordan Harband
a0a2ee4414
Merge pull request #349 from zyxar/master
...
Fixes #346
2014-01-14 21:59:30 -08:00
Markus Z
60e66fa7be
Fixes #346
2014-01-15 12:48:08 +08:00
Jordan Harband
45eff43cd0
Merge pull request #342 from txgruppi/master
...
export NODE_PATH on nvm use
2014-01-13 21:08:17 -08:00
Tarcisio Gruppi
eb588566f2
Removed PREVIOUS_NODE_PATH
2014-01-13 09:15:45 -02:00
Jordan Harband
17daa68a35
Merge pull request #344 from dhoppe/patch-1
...
Update nvm.sh
2014-01-03 10:16:53 -08:00
Dennis Hoppe
47c87b8478
Update nvm.sh
...
Examples should point to latest stable release. ;)
2014-01-03 14:45:46 +01:00
Tarcisio Gruppi
58dafdaedd
Update NODE_PATH on use, run and deactivate
2014-01-01 02:04:37 -02:00
Tarcisio Gruppi
4d2faba9af
export NODE_PATH on nvm use
2013-12-31 22:35:19 -02:00
Jordan Harband
bc4c5644f5
Merge pull request #335 from naartjie/#299
...
fix copy-packages in zsh
2013-12-26 11:02:28 -08:00
Marcin Jekot
950da2b836
Merge branch 'master' into #299
2013-12-25 18:14:24 +02:00
Jordan Harband
2459843b92
Merge pull request #279 from frasertweedale/fix/readme-shell-names
...
readme: be inclusive of zsh when discussing shells
2013-12-23 14:16:42 -08:00
Fraser Tweedale
58033251fd
readme: be inclusive of zsh when discussing shells
...
Much of the discussion in the README pertains to zsh as much as
bash, so include a specific reference to ~/.zshrc and remove one
explicit reference to bash.
2013-12-24 07:24:31 +10:00
Jordan Harband
8df2dd2ba8
Merge pull request #278 from frasertweedale/fix/manpath
...
fix MANPATH generation on FreeBSD
2013-12-23 10:11:06 -08:00
Fraser Tweedale
591a3bb19d
fix MANPATH generation on FreeBSD
...
On FreeBSD, if MANPATH is set it is used verbatim; configuration
files are completely ignored. Therefore, setting MANPATH to (only)
the nvm man dir makes system man pages unreachable.
To get around this, before doing anything else to MANPATH, if it is
empty set it to the output of manpath(1).
One further complication: FreeBSD automatically adds a path to the
man pages path for each path in PATH that ends in "/bin", which
causes "~/.nvm/$VERSION/man" to be added. This interferes with the
subsequent substitution so strip this from MANPATH before the
substitution.
2013-12-23 21:31:18 +10:00
Marcin Jekot
679c71650f
fix copy-packages in zsh
...
fixes #299 , finally, using the local var syntax
2013-12-18 17:21:00 +02:00
Jordan Harband
5c7996da5b
Merge pull request #332 from ljharb/add_package_json
...
Add package json
2013-12-17 13:17:52 -08:00
Jordan Harband
9021cf579a
Updating the README.
2013-12-17 13:12:05 -08:00
Jordan Harband
7afe2c5e2d
Add a package.json.
2013-12-17 13:12:05 -08:00
Jordan Harband
8143f5a618
ignore more urchin output.
2013-12-17 13:07:52 -08:00
Jordan Harband
c211357e70
Ignore node_modules.
2013-12-17 13:07:02 -08:00
Jordan Harband
3eb09ab984
Merge pull request #330 from mibamur/patch-1
...
Update nvm.sh
2013-12-17 10:25:24 -08:00
Michael
670870e211
Update nvm.sh
...
fix#https://github.com/creationix/nvm/pull/330
2013-12-18 02:07:02 +09:00
Michael
74ca011704
Update nvm.sh
...
fix https://github.com/creationix/nvm/pull/330
2013-12-18 02:06:23 +09:00
Jordan Harband
83c5b6286d
Add nvm current
to nvm help
. Relates to #205 .
2013-12-16 23:40:47 -08:00
Jordan Harband
d7015c7f65
Merge pull request #205 from deiga/add-current-command
...
Added command to get current nvm environment.
2013-12-16 23:39:23 -08:00
Timo Sand
4ca71d81cf
Changed test according to comments
2013-12-17 08:28:31 +02:00
Jordan Harband
ed69b5cc71
Merge pull request #331 from deiga/patch-1
...
Update README.markdown
2013-12-16 22:06:54 -08:00
Timo Sand
f9d5a85f05
Merge branch 'master' into add-current-command
2013-12-17 08:06:16 +02:00
Timo Sand
1f3ea299fa
Update README.markdown
2013-12-17 08:01:06 +02:00
Michael
b2ef0cb14c
Update nvm.sh
...
Fix - this line should be nvm use 0.10 - no 'v', and no incremental version number.
2013-12-16 23:25:50 +09:00
Michael
59c4dc735a
Update nvm.sh
...
small fix fo nvm help info
2013-12-16 05:04:14 +09:00
Jordan Harband
ce7d2e7618
Merge pull request #328 from naartjie/master
...
fix copy-packages in zsh (without breaking sh and bash). Closes #223 , fixes #299 .
2013-12-15 10:32:41 -08:00
Marcin Jekot
4df45ac51a
merge in changes from creationix/nvm
2013-12-15 11:27:15 +02:00
Jordan Harband
8573b95a2d
Merge pull request #327 from stuartf/issue-314
...
fix copy-packages
2013-12-13 15:37:28 -08:00
Marcin Jekot
94fff5c923
fix copy-packages in zsh (without breaking sh and bash)
2013-12-14 01:14:34 +02:00
D. Stuart Freeman
56e32888ea
fix copy-packages
2013-12-12 10:52:43 -05:00
Jordan Harband
b186b6327a
Merge pull request #326 from koenpunt/has-command-helper
...
helper method for testing existence of commands
2013-12-12 02:21:52 -08:00
Koen Punt
e99fc43ab2
helper method for testing existence of commands
2013-12-12 10:46:40 +01:00
Jordan Harband
cf515c4ff8
Merge pull request #324 from hurrymaplelad/quiet_type
...
Slurp stderr from test unsetopt
2013-12-11 18:32:06 -08:00
Adam Hull
037f52a55b
Slurp test unsetopt stderr
2013-12-11 15:23:19 -08:00
Jordan Harband
b714db7a95
Merge pull request #322 from koenpunt/fix-unsetopt-test
...
Universal test of unsetopt command. Closes #300
2013-12-11 09:28:58 -08:00
Koen Punt
aba4346a86
Universal test of unsetopt command
...
According to http://stackoverflow.com/a/7522866/189431 it should work in "bash, zsh, ksh and sh (as provided by dash)".
2013-12-11 13:49:58 +01:00
Jordan Harband
5686d9a3bb
Addressing comments raised in #171
2013-11-29 14:26:12 -06:00
Jordan Harband
49e9a309c3
Merge pull request #305 from marioidival/patch-1
...
For zsh users
2013-11-13 11:02:56 -08:00
Jordan Harband
788d87774f
Merge pull request #312 from quiqueg/master
...
Fixed bash error caused by lack of double quotes
2013-10-25 09:32:59 -07:00
Jordan Harband
7ccc2dd5ed
Merge pull request #311 from loganfsmyth/remove-tar
...
Properly remove the tar file.
2013-10-24 22:52:18 -07:00
Logan Smyth
7862182d6f
Add -f
2013-10-24 20:09:33 -07:00
Matthew Alexander
b4a9c14d4e
Fixed bash error caused by lack of double quotes
2013-10-24 18:59:37 -07:00
Logan Smyth
473dd86f48
Properly remove the tar file.
2013-10-23 22:14:02 -07:00
Mario Idival
6e1c249ecd
For zsh users
...
i use zsh and i did this update in install.sh local, is good for you too :)
2013-10-10 14:30:53 -03:00
Timo Sand
dc7a42062e
Added test for nvm current
2013-10-10 07:58:51 +03:00
Timo Sand
dd157129a6
Added command to get current nvm environment.
2013-10-10 07:56:57 +03:00
Jordan Harband
d3f04c793e
Merge pull request #296 from frasertweedale/fix/generic-source
...
install.sh: use a more generic SOURCE_STR
2013-09-23 20:37:08 -07:00
Fraser Tweedale
ef7e3cc39a
install.sh: use a more generic SOURCE_STR
...
SOURCE_STR currently includes the value of $HOME (at install time).
Change SOURCE_STR to include a literal "$HOME" (to be expanded at
profile runtime) so that sourcing nvm will work if the user changes
their username, shares their profile, et cetera.
Also use the more portable single-square-bracket test.
2013-09-22 14:58:19 +10:00
Jordan Harband
e6116d96ab
Mentioning install-gitless.sh
in the "no git" error message - finishing off #246 .
2013-09-21 12:58:01 -07:00
Jordan Harband
5e2ad5bb8d
Merge pull request #246 from ddryden/master
...
Add check for git in the installer script.
2013-09-21 12:55:55 -07:00
Jordan Harband
a7a91441aa
Merge pull request #294 from 00Davo/patch-1
...
Finds NVM_DIR with `cd -q` on zsh
2013-09-18 10:14:44 -07:00
00Davo
a2a8ddb779
Use only shell builtins to avoid triggering autojump, instead of needing GNU readlink
...
Under Zsh, the `-q` flag to `cd` makes it not run `chpwd` hooks and hence makes it not add `~/.nvm` to `autojump`.
2013-09-19 02:50:20 +10:00
00Davo
1ad9d18257
Finds NVM_DIR without using cd
...
Using `cd` makes the nvm directory the number-one directory in `autojump`'s database---which is somewhat confusing since the user basically never `cd`s to it directly!---so here's an alternative method that doesn't use the `cd` command. I've checked it works in both Bash and Zsh.
2013-09-18 17:10:24 +10:00
Jordan Harband
e58c495f69
Merge pull request #293 from lloydde/patch-1
...
updt urchin lnk, urchin.sh domain pending delete
2013-09-16 22:31:48 -07:00
Lloyd Dewolf
676a2cc865
updt urchin lnk, urchin.sh domain pending delete
...
$ curl -i www.urchin.sh
curl: (6) Could not resolve host: www.urchin.sh; nodename nor servname provided, or not known
http://www.nic.sh/cgi-bin/whois
"Domain pendingDelete - expired 2013-07-12, unless it is renewed it will be deleted at or after 00:10 GMT 90 days beyond the expiry date."
2013-09-16 22:17:33 -07:00
Jordan Harband
c6f72953c9
Merge pull request #292 from martiniwanowski/master
...
Fix for issue #196 , deconfusified the scenario
2013-09-10 13:28:11 -07:00
Martin Iwanowski
41352e866d
Fix for issue #196 , deconfusified the scenario
2013-09-10 12:34:32 +02:00
Dennis Dryden
34a067647c
Add check for git to install script.
2013-09-09 14:35:30 +01:00
Tim Caswell
db3035c29b
Merge pull request #289 from martiniwanowski/master
...
Fixed typo.
2013-08-31 11:20:51 -07:00
Martin Iwanowski
01f8eef7a2
Fixed typo.
2013-08-31 19:55:12 +02:00
Jordan Harband
e6d1d0c4de
Merge pull request #283 from ljharb/add_license
...
Add license
2013-08-20 10:41:30 -07:00
Jordan Harband
d6fe38a356
Add LICENSE file. Closes #122 .
2013-08-20 10:41:05 -07:00
Jordan Harband
1478c72124
Lowercasing nvm like npm.
2013-08-20 10:39:44 -07:00
Jordan Harband
8e8da23711
Merge pull request #282 from interarticle/master
...
Fixed curl silently ignoring 302 redirections. Fixes #281
2013-08-20 10:24:15 -07:00
Max Zhao
62dec72394
Fixed curl silently ignoring 302 redirections
...
Under certain network environments, due to poor implementation of file
download caches (immoral Chinese ISP), the direct download of Node.js
packages (http://nodejs.org/dist/node-$VERSION.tar.gz ) will be
redirected to alternative urls using 302 redirections, which are not
handled by `curl --process-bar` by default. Instead, curl will "fail"
silently without creating any output file or error exitcode.
(Tested under Ubuntu 12.04 Desktop)
Fixed by adding "-L" switches to the curl commands responsible for
downloading the binary and source node.js packages.
2013-08-21 00:27:10 +08:00
Jordan Harband
c2e4e1a8a7
Merge pull request #280 from activars/master
...
added documentation for .nvmrc usage
2013-08-15 11:58:34 -07:00
Jing Dong
6a98d168b7
added documentation for .nvmrc usage
2013-08-15 19:25:51 +01:00
Tim Caswell
8ce8bef249
Merge pull request #276 from frasertweedale/fix/readme-clone-url
...
readme: use https clone url
2013-08-09 17:13:55 -07:00
Fraser Tweedale
2b216ab5d1
readme: show https clone url
...
The git:// transport is vulnerable to man-in-the-middle and DNS
spoofing attacks and its use over untrusted networks should be
discouraged.
Change to the https:// clone url in the install instructions.
2013-08-10 10:04:25 +10:00
Jordan Harband
af105894d7
Merge pull request #274 from evocateur/patch-1
...
Avoid error from aliased `which` during install
2013-07-31 13:55:15 -07:00
Daniel Stockman
e5d7d493b9
Avoid error from aliased which
during install
...
The same fix as #207 , just for fools like me who have `which` aliased to `type` in OS X. Without this escape, a very cryptic error message is emitted (though the install ultimately succeeds, as long as one actually has `curl` installed).
2013-07-31 12:42:19 -07:00
Jordan Harband
e0bd3735f1
Merge pull request #272 from amv/master
...
better guides for missing profile
2013-07-26 11:04:45 -07:00
Antti Vähäkotamäki
81d731d355
better guides for missing profile
2013-07-26 14:58:47 +03:00
Harald Glatt
2eddca3d9f
Remove unneeded shebang in nvm.sh
2013-07-23 17:24:07 +02:00
Harald Glatt
6a6e435855
Switch from /bin/sh to /bin/bash
...
You have bashisms in your script and /bin/sh might not always be bash. In that case the script would fail (for example on Ubuntu).
2013-07-21 08:17:51 +02:00
Jordan Harband
7fb6d1ec6a
Merge pull request #259 from jsatt/master
...
Handle cases where grep is aliased to change output
2013-06-26 14:52:07 -07:00
Jeremy Satterfield
6690aecc6c
fix handle cases of grep aliases as described in to resolve #207
2013-06-26 15:55:39 -05:00
Tim Caswell
137539cf48
Merge pull request #258 from codewhale/master
...
add support for Raspberry Pi binaries
2013-06-24 06:40:31 -07:00
Code Whale
4a7945f8c1
support Raspberry Pi binaries
2013-06-24 13:33:19 +00:00
Jordan Harband
8b9c0b933c
Merge pull request #256 from cliffano/master
...
Add sh directive and replace bash function with sh function.
2013-06-22 09:57:20 -07:00
Tim Caswell
8983644854
Merge pull request #254 from stelcheck/gitless
...
Gitless in Seattle
2013-06-22 07:50:05 -07:00
Cliffano Subagio
39c5d0597d
Fix style, opening curly brace on the same line as function declaration.
2013-06-22 23:11:43 +10:00
Cliffano Subagio
ab71d50b3a
Add sh directive and replace bash function with sh function.
2013-06-21 17:56:58 +10:00
Jordan Harband
36ce8f0010
Merge pull request #253 from ljharb/update_readme
...
Using source instead of dot. Closes #211 .
2013-06-14 09:27:44 -07:00
Jordan Harband
c6cb1601f7
Using source instead of dot.
2013-06-14 09:26:51 -07:00
Jordan Harband
be0b2926b3
Merge pull request #252 from ljharb/fix_readme
...
Fix readme
2013-06-14 09:16:14 -07:00
Jordan Harband
f8a6e23fa7
Updating copyright year
2013-06-14 09:14:52 -07:00
Jordan Harband
1e353b2773
Updating 0.8 references to 0.10
2013-06-14 09:14:37 -07:00
Jordan Harband
9537db1a4a
Updating ~/nvm to ~/.nvm
2013-06-14 09:13:54 -07:00
Jordan Harband
e7e84ec376
Merge pull request #219 from techdives/patch-1
...
Update README.markdown
2013-06-14 09:12:26 -07:00
Jordan Harband
6a2d92bc51
Merge pull request #238 from shibukawa/patch-1
...
Update README.markdown
2013-06-14 09:11:27 -07:00
Tim Caswell
855d89bef0
Merge pull request #251 from stelcheck/NVM_DIR
...
* NVM_TARGET renamed to NVM_DIR
2013-06-14 06:01:23 -07:00
Tim Caswell
36843d97cb
Merge pull request #250 from ronkorving/gitless
...
Git-less installation script
2013-06-14 05:56:30 -07:00
stelcheck
c5437bb222
* NVM_TARGET renamed to NVM_DIR (this will ensure that any locally
...
* existing nvm copy will be picked up and updated)
2013-06-14 16:20:36 +09:00
stelcheck
d428bcd50e
* TARGET was not converted to DIR
2013-06-14 16:17:24 +09:00
stelcheck
f82cde11a9
* Using raw.github.com instead, downloading only nvm.sh
...
* tar no longer required
2013-06-14 16:15:54 +09:00
Ron Korving
dc46a740a3
Fix newline issue in install.sh
2013-06-14 15:10:59 +09:00
Ron Korving
93e84a2676
Moved gitless installer into its own file.
2013-06-14 13:13:33 +09:00
Ron Korving
5a4c097aac
Install script no longer depends on git to be installed.
...
Also fixed a bug where a literal "\n" would be injected into the bash profile.
2013-06-14 13:00:52 +09:00
Tim Caswell
5c6af59fcd
Merge pull request #236 from donovanjamesking/master
...
Fixes issue 232 and "nvm ls" returning "N/A" when it shouldn't
2013-06-10 06:36:16 -07:00
Tim Caswell
72fd8c970a
Merge pull request #229 from em-/testsuite-fixes
...
Testsuite fixes
2013-06-10 06:34:35 -07:00
Derek Keller
d1d53ea979
Updated fix for issues #232 and #244
...
Fixes issues #232 and #244 where "nvm ls" returns inconsistent results depending on the number of node versions installed. This updated fix uses the find and sort commands only. Tested in bash v3.2.48 and v4.2.25, and zsh v4.3.11.
2013-06-09 21:44:46 -05:00
Emanuele Aina
04dba10b9a
Fix the setup/teardown urchin test scripts under zsh
...
The v* glob expansions were failing with an error under zsh, just set
nullglob/NULL_GLOB and make both bash and zsh happier.
2013-06-07 23:18:50 +02:00
Emanuele Aina
8486a0da2b
Fix the 'nvm deactivate' test
...
`nvm deactivate` does not really remove the nvm command, it just remove
the entries from $PATH and $MANPATH previously adde with `nvm use`.
2013-06-07 23:18:50 +02:00
Tim Caswell
b2b29ff5c5
Merge pull request #243 from lgw4/master
...
Changed git download protocol from git:// to https:// to work around firewalls.
2013-06-03 18:57:57 -07:00
Chip Warden
6c57b275db
Changed git protocol from git:// to https:// to work around firewalls.
2013-06-03 17:05:30 -05:00
Tim Caswell
7cc6f37e69
Merge pull request #242 from koenpunt/patch-1
...
Return 1 so exit status is not null on error
2013-06-03 14:18:03 -07:00
Koen Punt
0f05655ee6
Return 1 so exit status is not null on error
2013-06-03 22:26:52 +03:00
Tim Caswell
6b932e59c3
Remove column since many common environments don't have it.
2013-06-03 10:08:13 -04:00
Yoshiki Shibukawa
9a8e66cfca
Update README.markdown
2013-05-15 11:41:30 -07:00
Tim Caswell
66633de1a9
Merge pull request #235 from okuryu/fix-install
...
Remove `-e` option in `install.sh` script
2013-05-13 13:01:37 -07:00
Donovan James King
bc04ed3ece
Fixes issue 232
...
Fixes issue 232 that occurs in at least bash v4.2.25 where "nvm ls" returns "N/A" no matter how many versions of node have been installed. The fix uses a combination of the find, tr and basename commands instead of basename only. Tested in bash v3.2.48 and v4.2.25 and zsh v4.3.11.
2013-05-13 14:35:36 -05:00
Ryuichi Okumura
9205ff8001
Remove -e
option in install.sh
script
...
The `sh` actually doesn't support `-e` option.
2013-05-14 00:05:53 +09:00
Tim Caswell
367ae728fb
Merge pull request #231 from miguelcoba/patch-1
...
Drop invalid -a flag for basename.
2013-05-09 15:02:22 -07:00
Miguel Cobá
335456d008
Drop invalid -a flag for basename.
...
basename doesn't accept options in bash. This causes the VERSIONS variable get the 'N/A' value for $ nvm ls command.
From basename man page:
NAME
basename - strip directory and suffix from filenames
SYNOPSIS
basename NAME [SUFFIX]
basename OPTION
DESCRIPTION
Print NAME with any leading directory components removed. If specified, also remove a trailing SUFFIX.
--help display this help and exit
--version
output version information and exit
coreutils version used in Linux Mint 14 Nadia.
GNU coreutils 8.12.197-032bb September 2011 BASENAME(1)
No idea if this flag exists on FreeBSD or other unixes (if they use gnu coreutils shouldn't be any problem)
2013-05-09 13:50:12 -04:00
Tim Caswell
eade411422
Merge pull request #198 from ArtemGordinsky/master
...
Adding a newline before the source string in the ".bash_profile"
2013-05-09 06:39:01 -07:00
Tim Caswell
cca6edfc5c
Merge pull request #203 from em-/master
...
Don't trust the environment and explicitly ask for the builtin `cd'
2013-05-06 20:36:11 -07:00
Emanuele Aina
42915fc21c
Reduce usage of `cd' to avoid issues with shell aliases
...
Since we run in interactive context the builtin `cd' may have been aliased to
print some additional info when invoked, thus it's safer for us to avoid
parsing the output from subshells which calls it.
For instance in .bash_profile I have the following function to redefine
`cd' such that it will list the destination directory contents:
cd () { builtin cd "$@" && ls -F --color=auto }
2013-05-03 17:44:02 +01:00
Emanuele Aina
f1b484ee87
Silence stderr warning on `nvm uninstall' with no configured alias
2013-05-03 17:42:14 +01:00
Tim Caswell
6c3708d337
Merge pull request #195 from gpad/patch-1
...
Resolved Issue #194
2013-04-24 09:03:36 -07:00
Tim Caswell
91a7aa8611
Merge pull request #222 from jnlin/master
...
Added FreeBSD support
2013-04-24 09:02:12 -07:00
jnlin
db7494494c
Add FreeBSD support
2013-04-24 15:42:10 +08:00
techdives
ca44bafff2
Update README.markdown
...
I do think recent changes changed nvm to .nvm.
2013-04-16 17:40:59 -07:00
Tim Caswell
01189e144c
Merge pull request #200 from croach/issue-199
...
Fixes Issue 199
2013-03-07 15:02:22 -08:00
Tim Caswell
3fe12f0a49
Merge pull request #202 from hugojosefson/recommend-version-0.8
...
Recommend version 0.8 in README.markdown.
2013-03-04 06:54:23 -08:00
Hugo Josefson
e4acd63991
Clarify difference between nvm ls
and nvm ls-remote
.
2013-03-04 12:54:42 +01:00
Hugo Josefson
3ce23aa726
Recommend version 0.8 in README.markdown.
...
Automatically install the latest available 0.8.x version.
2013-03-04 12:50:55 +01:00
Christopher Roach
205117bed4
Fixes issue 199
...
Fixes issue 199 where the bash completion was not working in ZSH
because the builtin bash command `complete` was not found. The fix
executes the `bashcompinit` command which creates the `complete`
function for the Z shell.
2013-03-01 10:55:58 -08:00
Artem
9c7da6cec3
Adding a newline before the source string in the ".bash_profile"
...
Resolved Issue #197
2013-02-27 11:50:08 +02:00
Artem
1088b4b00f
Ignoring the ".DS_Store" files on OS X
2013-02-27 11:43:05 +02:00
GPad
5811cb9e73
Resolved Issue #194
...
Issue #194
2013-02-11 19:23:25 +01:00
Tim Caswell
0ec339e040
Merge pull request #192 from gpad/nvmrc
...
Use .nvmrc if present
2013-01-25 11:50:11 -08:00
GPad
7226e5fb98
read the .nvmrc if present
2013-01-25 19:13:40 +01:00
GPad
bc9c82cb9f
read version from .nvmrc if not specified
2013-01-22 13:28:13 +01:00
Tim Caswell
f605581c7d
return not exit
2013-01-21 12:07:54 -06:00
Tim Caswell
87a76af398
Merge pull request #191 from koenpunt/patch-1
...
Add exit code, fix #190
2013-01-21 08:51:14 -08:00
Koen Punt
70e1b81ad3
Add exit code, fix #190
2013-01-21 17:26:16 +01:00
Tim Caswell
e145978e73
Merge pull request #189 from kt3k/feature/hyphen-s-option-2
...
Add -s option to force install from source
2013-01-14 05:59:47 -08:00
Yosiya Hinosawa
a6be969403
changed shasums file url because in v0.8.6 .txt.asc file is not available.
2013-01-13 16:13:20 +09:00
Yosiya Hinosawa
184f641730
fixed the condition for the binary package availability.
2013-01-13 16:10:50 +09:00
Yoshiya Hinosawa
7dc0827eaa
minor modifications.
2013-01-12 14:43:04 +09:00
Yoshiya Hinosawa
278fd031b0
added test for installation with -s option.
2013-01-12 14:42:41 +09:00
Yoshiya Hinosawa
7013372867
added -s (install from source) option.
2013-01-12 14:42:28 +09:00
Yosiya Hinosawa
881178db01
fixed syntax error.
2013-01-12 14:42:13 +09:00
Yoshiya Hinosawa
1845a4a5a9
added the description about -s option.
2013-01-12 14:40:41 +09:00
Tim Caswell
bc508802e5
Update README.markdown
2012-12-12 09:48:26 -06:00
Tim Caswell
0a4d3a2944
Merge pull request #181 from andrwj/master
...
fixed 'bash command not found sha1sum' in Mac OS
2012-12-08 12:59:52 -08:00
A.J
5596054445
fixed wrong condition checking for 'shasum' (I'm using Mac OS 10.8.2)
...
line 188, `which shasum > /dev/null 2>&1` will be replaced by:
'/usr/bin/shasum > /dev/null 2>&1'
but, `/usr/bin/shasum` needs filename argument which is ommited and the
test results always 'false'.
2012-12-09 05:17:13 +09:00
Tim Caswell
68f7dc9cb3
Merge pull request #171 from cou929/support_sha1sum_command
...
support platforms which does not have shasum command
2012-12-04 17:46:04 -08:00
Tim Caswell
9c3af112ca
Merge pull request #175 from Marsup/fix-172
...
Fix #172 on ZSH
2012-12-04 17:45:25 -08:00
Tim Caswell
eaf8a50483
Merge pull request #178 from koenpunt/patch-2
...
Fixed variable expansion for `SOURCE_STR`
2012-12-04 15:32:55 -08:00
Tim Caswell
6c70627478
Merge pull request #177 from koenpunt/patch-1
...
Added instructions for the install script
2012-12-04 15:32:30 -08:00
Koen Punt
dc2bf8c526
Fixed variable expansion for SOURCE_STR
2012-12-04 23:26:49 +01:00
Koen Punt
b063b32642
Added instructions for the install script
2012-12-04 23:21:00 +01:00
Tim Caswell
7bee39fd81
Merge pull request #176 from witoldsz/patch-1
...
Update install.sh
2012-12-04 13:34:29 -08:00
Witold Szczerba
2f6b0ca9d7
Update install.sh
...
$HOME/.nvm used instead of introduced earlier NVM_TARGET.
2012-12-04 21:36:12 +01:00
Marsup
2662840064
Fix #172 on ZSH
2012-11-27 23:46:04 +01:00
Kosei Moriyama
1a08edd94e
support platforms which does not have shasum command
...
use sha1sum command if there is no shasum command
2012-11-24 00:08:49 +09:00
Tim Caswell
59c8eda18c
Merge pull request #170 from tisba/master
...
Avoid pollution of environment
2012-11-20 06:50:29 -08:00
Sebastian Cohnen
0803e317e1
avoid environment pollution with NVM internals
2012-11-20 15:32:59 +01:00
Tim Caswell
1709fa9248
Merge pull request #165 from koenpunt/install
...
Basic install file
2012-10-30 09:26:24 -07:00
Koen Punt
3c4bf80ec7
added basic install file
2012-10-30 00:04:52 +01:00
Tim Caswell
dd3650fc8f
Merge pull request #164 from paulownia/fix_for_v0.4
...
Cannot install v0.4
2012-10-27 20:28:41 -07:00
hisanori
4ffd4bb34f
fix installation problem about v0.4
2012-10-27 04:09:10 +09:00
Tim Caswell
d6ef9c8893
Merge pull request #163 from wlaurance/master
...
Glob i*86
2012-10-26 07:53:02 -07:00
wlaurance
21f00362b0
Account for x86 architectures
2012-10-25 15:39:08 -04:00
Tim Caswell
f3bf583285
Merge pull request #161 from wlaurance/master
...
Checksum checking
2012-10-23 12:25:13 -07:00
wlaurance
a1d14ea5b8
Checksum support for binary downloads
...
Checksum support for source downloads
Closes #159
2012-10-23 14:26:21 -04:00
Tim Caswell
3b2d2e4b61
Merge pull request #160 from wlaurance/master
...
i686 architecture
2012-10-23 09:36:42 -07:00
wlaurance
03b16d7a67
Account for uname -a i686
2012-10-23 12:19:42 -04:00
Tim Caswell
e1ec264b26
Merge pull request #155 from jwietelmann/master
...
NVM downloading x86 binaries instead of source for ARM Linux box
2012-10-18 14:42:55 -07:00
Joel Wietelmann
182e28f1ae
Making ARM stop downloading x86 binaries
2012-10-18 21:19:08 +00:00
Tim Caswell
5977a02e8b
Merge pull request #154 from mikedeboer/master
...
one more: list-remote
2012-10-17 09:54:14 -07:00
mikedeboer
ab16d34012
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
bash_completion
2012-10-17 18:51:53 +02:00
mikedeboer
c4a13dd2b6
updated list of commands
2012-10-17 16:50:05 +00:00
Tim Caswell
7c2dfda88d
Add ls-remote to autocomplete
2012-10-17 16:47:24 +00:00
Tim Caswell
1dbb7c799d
Update README.markdown
2012-10-17 11:45:43 -05:00
Tim Caswell
d9f25f8f58
Merge pull request #96 from caio/dont-fail-on-source
...
Avoid carrying over test status when no node version is installed
2012-10-17 09:41:43 -07:00
Tim Caswell
b73f0930cc
Merge pull request #106 from ghost/master
...
nodejs.org doesnt seem to support resuming partial downloads
2012-10-17 09:40:27 -07:00
Tim Caswell
3766bff734
Merge pull request #148 from nathan-lafreniere/master
...
Fixes ls-remote with no parameters in linux
2012-10-17 07:27:28 -07:00
Tim Caswell
304924a969
Merge pull request #152 from Marsup/binary-installs
...
Support binary installs
2012-10-12 08:25:57 -07:00
Marsup
a0c4229abe
Support binary installs
...
Heavily inspired by isaacs/nave
2012-10-12 09:39:35 +02:00
Tim Caswell
eea0b05ece
Merge pull request #150 from tlevine/master
...
I added tests.
2012-10-11 13:52:44 -07:00
Thomas Levine
a27d39139b
tests from readme
...
fast tests
alias
unalias
more alias tests
tests
document testing
warn not to run while testing
chmod +x deactivate
specify the version (commit) of urchin
installation test
run
tests for ls
switch unsetopt to the thing creationix has
rename tests
urchin log
adjust urchin version
2012-10-11 16:12:50 -04:00
Thomas Levine
903479aeca
Merge branch 'master' of github.com:tlevine/nvm
...
Conflicts:
nvm.sh
2012-10-10 19:06:34 -04:00
Tim Caswell
d8713bb2e8
Merge pull request #149 from koenpunt/zsh-compat
...
Made string comparison also compatible for zsh
2012-10-09 08:11:54 -07:00
Koen Punt
4a6c696074
Made string comparison also compatible for zsh
2012-10-09 13:36:44 +02:00
Nathan LaFreniere
a368227237
make ls-remote work with no parameters in linux
2012-10-07 17:19:53 -07:00
Tim Caswell
5a17b81a09
Merge pull request #146 from nathan-lafreniere/master
...
fixup prepending of the v in ls-remote
2012-10-05 21:13:29 -07:00
Nathan LaFreniere
e1be38f90d
fixup automatically prepending the v for remote requests
2012-10-05 11:39:38 -07:00
Tim Caswell
80cf1159bb
Merge pull request #145 from nathan-lafreniere/master
...
added ls-remote command
2012-10-05 08:05:04 -07:00
Nathan LaFreniere
9fb65cbf7b
add v back to ls-remote results
2012-10-04 11:10:31 -07:00
Nathan LaFreniere
693abf3173
make install use a different nvm_version to make not specifying the v avoid clobbering aliases
2012-10-04 10:32:36 -07:00
Nathan LaFreniere
e755c47d5a
made ls-remote actually usable
2012-10-04 09:41:32 -07:00
Nathan LaFreniere
3d65d55b5a
install requested version automatically if it isnt available
2012-10-04 09:40:00 -07:00
Nathan LaFreniere
6505c98461
add ls-remote
2012-10-04 09:38:51 -07:00
Nathan LaFreniere
5af8cec6dc
updated readme
2012-10-04 09:37:12 -07:00
Nathan LaFreniere
ebff66649e
add v to version if user does not specify it to simplify commands
2012-10-04 09:36:39 -07:00
Nathan LaFreniere
07aaa91c9b
Revert "add /.nvm to NVM_DIR so we dont clutter up home directories"
...
This reverts commit a107b12d2a
.
2012-10-04 09:29:05 -07:00
Nathan LaFreniere
a107b12d2a
add /.nvm to NVM_DIR so we dont clutter up home directories
2012-10-04 09:28:32 -07:00
Tim Caswell
a12b6d7dd6
Merge pull request #144 from logosity/master
...
fix for npm install failure (corrects: Issue #91 )
2012-10-03 19:07:48 -07:00
Bill Caputo
2adbe8bd7f
changed npm url to use https (script has moved)
2012-10-03 16:24:43 -05:00
Tim Caswell
04652a5090
Merge pull request #133 from mimetnet/master
...
Fix warning when unsetopt isn't found
2012-08-22 11:32:49 -07:00
Matthew Metnetsky
d68c38902a
Fix warning when unsetopt isn't found
2012-08-22 14:19:18 -04:00
Tim Caswell
cd14416bfd
Merge pull request #131 from rummik/patch-1
...
Fix parse error in Zsh 4.3.17
2012-08-22 08:45:47 -07:00
Thomas Levine
9190297d5e
Hide errors from which unsetopt
...
Errors occurred when it was run in bash.
2012-08-22 09:49:48 -04:00
rummik
ad5242ea0b
Fix parse error in Zsh 4.3.17
2012-08-20 18:02:38 -03:00
Tim Caswell
5132a1eb6f
Merge pull request #129 from indianburger/master
...
Add check for unsetopt issue #128
2012-08-20 08:28:20 -07:00
Aravind Ramanathan
3bb2634d2f
Added check for unsetopt
...
unsetopt doesn't exist on OSX by default which causes `. nvm.sh` to
fail at that line.
2012-08-07 23:22:27 -07:00
Tim Caswell
e475d7e7ab
Fix bug introduced by pull # 125
2012-08-01 12:48:41 -05:00
Tim Caswell
cf00a067ca
Merge pull request #125 from fatshotty/master
...
possibility to pass argument to node while compiling
2012-08-01 08:40:21 -07:00
fatshotty
f8c1822033
added additional options for compiling node
2012-08-01 11:10:25 +02:00
Tim Caswell
7d4b12446a
Add explicit MIT license to README
2012-07-20 08:30:13 -05:00
Tim Caswell
96a4488732
Merge pull request #120 from tomassedovic/issue-39-fix-zsh-error-msg
...
Supress ZSH "no matches found" error
2012-07-09 07:34:03 -07:00
Tomas Sedovic
3dd6b29905
Supress ZSH "no matches found" error
...
Fixes issue #39
ZSH's default globbing behaviour differs from Bash. If there is no
match, ZSH itself will print the error message.
This means that piping a commantd's STDERR to /dev/null will not
hide it.
By unsetting the NOMATCH option we get a behaviour similar to Bash.
Signed-off-by: Tomas Sedovic <tomas@sedovic.cz >
2012-07-07 14:37:09 +02:00
Tim Caswell
91670abdca
Merge pull request #118 from gosquared/set-friendly
...
Set friendly
2012-07-05 09:26:03 -07:00
Gerhard Lazu
d544d8e2eb
If you're using set -e (and why wouldn't you), this halts all execution
2012-07-03 10:41:15 +01:00
Gerhard Lazu
3e62657575
If cd fails, don't run pwd
...
Whitespace...
2012-07-03 10:36:23 +01:00
Tim Caswell
c371a3a26b
Merge pull request #109 from rafmagana/bash_completion
...
Bash completion
2012-04-09 10:26:37 -07:00
Rafael Magana
cfa81b49d1
bash completion
2012-04-09 01:25:49 -05:00
Tim Caswell
6e50bc0d78
Update README.markdown
2012-04-06 10:49:48 -05:00
Tim Caswell
6d58fcb8c0
Update README.markdown
2012-03-24 09:03:23 -05:00
Tim Caswell
5eb95fd641
Update README.markdown
2012-03-24 09:02:03 -05:00
Tim Caswell
cd7c58ff6a
Update README.markdown
2012-03-23 15:04:45 -05:00
Wtfcoder
a86262520a
remove continue from curl arg. nodejs.org doesnt seems to support continue, CDN effect perhaps?
2012-03-13 11:51:05 +07:00
Tim Caswell
60892c7b51
Merge pull request #105 from elf-pavlik/master
...
added note to README with solution to problem with version of python on some systems
2012-03-06 18:33:07 -08:00
elf Pavlik
0dd0224f2d
added note about solution to problem with version of python on systems like Arch Linux
2012-03-07 01:34:12 +01:00
Tim Caswell
dcd29296e9
Merge pull request #104 from prozacgod/master
...
NVM "need curl to proceed"
2012-02-27 10:47:29 -08:00
David Hagler
45051f4d43
changed the function to place the curl requirement where it belongs
2012-02-24 11:25:27 -06:00
David Hagler
7c3af21ebe
Removed default check for curl, and placed it into nvm function
...
This fixes issue with curl not being installed before nvm is initially sourced
and then curl subsequently being installed.
removed creation of global curl function (after error detected) which
overwrites the system tool, preventing execution of later installed
curl binary
2012-02-24 10:52:25 -06:00
Tim Caswell
293061b8b7
Merge pull request #102 from chakrit/patch-1
...
`nvm version` and `nvm ls` not correctly reporting current version.
2012-02-20 07:28:34 -08:00
Chakrit Wichian
a49f77135a
nvm version
and nvm ls
not correctly reporting current version on both zsh and bash.
2012-02-19 18:12:14 +07:00
Tim Caswell
1eaf6e2db7
Merge pull request #65 from symposion/master
...
Fix for incorrect version sorting
2012-02-06 07:49:16 -08:00
Lucian Holland
b2683fdb11
Merge remote-tracking branch 'upstream/master'
2012-01-27 10:38:41 +00:00
Caio Romão
53cfd2dd9b
Avoid carrying over test status when no node version is installed
...
When sourcing nvm.sh, if there are no version of node installed the command
`nvm ls default` silentry fails, however it's return status code (`$?`) is
still set to non-zero, which means an error.
This patch simply avoids this issue by making sure the status code after
sourcing is ok so that people that put the returned status codes in their
command line prompt don't get an error every time `nvm.sh` is sourced.
2012-01-18 17:43:28 -02:00
Tim Caswell
ec2327fddd
Merge pull request #83 from jeffv/master
...
Fixes npm install to check version before running
2011-11-17 16:07:14 -08:00
Jeffrey D. Van Alstine
18f4064003
Fixes npm version check for node v0.2.0, v0.2.1 and v0.2.2
2011-11-17 16:15:31 -07:00
Jeffrey D. Van Alstine
990ad81419
Check if node v0.1.x or v0.2.x before npm installs
2011-11-17 15:38:51 -07:00
Tim Caswell
d7cdabe8e2
Merge pull request #82 from mmalecki/run-help
...
[doc] Update help
2011-11-14 10:37:49 -08:00
Maciej Małecki
269bb008fc
[doc] Update help
2011-11-14 19:35:55 +01:00
Tim Caswell
a987f8e67d
Merge pull request #76 from mmalecki/run
...
[feature] Run command
2011-11-14 08:30:06 -08:00
Tim Caswell
0aa40a9c21
Merge pull request #81 from alessioalex/master
...
alias node for sudoers in documentation
2011-11-14 07:45:22 -08:00
alessioalex
629b51ebf1
alias node for sudoers in documentation
2011-11-14 16:16:09 +02:00
Tim Caswell
39dbc65104
Merge pull request #80 from alessioalex/master
...
Delete partials from /src [as we talked on IRC]
2011-11-14 05:54:43 -08:00
alessioalex
0700d14065
Remove downloads from /src if installation failed
2011-11-14 15:48:56 +02:00
Maciej Małecki
53e1764a8a
[feature] Allow passing additional arguments to node
...
For example:
nvm run v0.6.0 myApp.js
2011-11-05 17:32:17 +01:00
Lucian Holland
fda6e7f8de
Rewrote version listing system
...
Now sorts correctly in all instances and prints highlights
even in sorted views. Also will output a list of matching versions
for commands of the form nvm ls 0.4* rather than just printing one
version. nvm version 0.4 still prints the single latest matching
version, however.
2011-11-04 20:38:16 +00:00
Lucian Holland
6f994715d6
Fixed incorrect sorting of versions
2011-11-04 20:38:15 +00:00
Tim Caswell
8dad534464
Remove broken wget emulation
2011-11-03 16:19:26 -05:00
Maciej Małecki
335a253323
[docs] Document run
command
2011-10-29 10:08:13 +02:00
Maciej Małecki
09483f422e
[feature] Add run
command
...
`run` command runs given node version without modyfing global state:
[maciej@PC07 nvm (run)]$ node --version
v0.4.12
[maciej@PC07 nvm (run)]$ nvm run 0.4.12
Running node v0.4.12
> process.version
'v0.4.12'
> [maciej@PC07 nvm (run)]$ nvm run 0.5.9
Running node v0.5.9
> process.version
'v0.5.9'
> [maciej@PC07 nvm (run)]$ node --version
v0.4.12
2011-10-29 10:08:05 +02:00
Tim Caswell
4692f496da
Merge pull request #71 from bronson/master
...
trivial: remove references to stable and latest
2011-10-05 14:48:21 -07:00
Scott Bronson
26b07fbdff
remove references to stable and latest
2011-10-05 12:47:57 -07:00
Scott Bronson
656549dd44
make "list" a synonym for "ls"
2011-10-05 12:43:50 -07:00
Tim Caswell
ff3e7d4025
Merge pull request #70 from mdiniz/master
...
Fix wrong full version matching
2011-10-01 16:37:41 -07:00
Marcelo Diniz
f939adbedb
Fix wrong full version matching
2011-10-02 00:59:20 +02:00
Tim Caswell
ac9a52886d
Remove support for sync latest and stable. I never liked them. Fork if you want them
...
Change-Id: I9092c5625305f54212625af0c16f7ead73a3d9fa
2011-09-28 10:56:16 -07:00
Tim Caswell
273aeeee73
Merge pull request #67 from mmalecki/already-installed
...
Don't allow installing already installed version.
2011-09-19 15:09:32 -07:00
Maciej Małecki
33c91398bf
Don't allow installing already installed version.
...
Trying to install already installed version causes misleading message
from curl and nvm:
$ nvm install v0.4.11
curl: (33) HTTP server doesn't seem to support byte ranges. Cannot
resume.
nvm: install v0.4.11 failed!
Of course, resuming interrupted installs is still possible (script
checks for existance of `$VERSION` in `$NVM_DIR`, not `$NVM_DIR/src`).
2011-09-17 13:16:37 +02:00
Tim Caswell
087ce15ccd
Merge pull request #62 from welwood08/patch-1
...
uninstall should delete the extracted source files from the src directory
2011-09-05 11:01:31 -07:00
Will
92703939ee
uninstall should delete the extracted source files from the src directory, not nvm root
2011-09-04 14:27:04 +02:00
Tim Caswell
d6ef0c47a5
Merge pull request #60 from croach/master
...
Fix for Issue #59
2011-08-29 12:40:08 -07:00
Christopher Roach
fd1eb7559b
Added a fix for issue #59
2011-08-27 18:02:41 -07:00
Tim Caswell
c562a491ca
Merge pull request #57 from ghuntley/zsh
...
zsh compatibility fixes
2011-08-25 09:16:22 -07:00
Geoffrey Huntley
964e7c303c
updated shorthand for -# to --progress-bar on wget emulation function()
2011-08-25 14:32:47 +10:00
Geoffrey Huntley
1251684440
- version detection now works with zsh
...
- curl routine now compatible with zsh
- changed curl to use --progress-bar instead of unsafe shorthand (-#)
2011-08-25 14:03:13 +10:00
Tim Caswell
2ecd1fac63
Merge pull request #54 from evnm/add-uninstall-and-unalias
...
Add unalias and uninstall commands
2011-08-19 21:20:50 -07:00
Evan Meagher
46302a25d2
Add unalias and uninstall commands.
2011-08-19 18:00:25 -07:00
Tim Caswell
d5638cb241
Merge pull request #44 from zzen/patch-1
...
Added copy-packages command
2011-08-18 09:35:12 -07:00
Kieran Huggins
e9f35e7b15
don't shed all over the user's shell
2011-07-28 01:31:35 -04:00
Kieran Huggins
fab5db0ec8
add support for release directories ( e.g. >= v0.5.1 )
2011-07-27 17:50:41 -04:00
Jakub Nešetřil
4c8d3a70ea
Added copy-packages command
2011-07-02 09:14:48 -07:00
Tim Caswell
c10ca74b5b
NVM shouldn't really be a NPM module
2011-05-05 13:55:09 -07:00
Tim Caswell
8d97b78da7
Fix a couple little bugs
2011-05-05 13:51:08 -07:00
Tim Caswell
d509e32c6f
Merge pull request #24 from carter-thaxton/master.
...
Force use of unaliased version of ls from shell
2011-05-02 13:46:15 -07:00
Carter Thaxton
61585251f5
Force unaliased use of ls, for those of us who alias ls in their shell
2011-04-09 14:47:50 -07:00