Commit Graph

997 Commits (de93dc46d07a6e08d3c7f78d50c55ddeea1a2b5d)

Author SHA1 Message Date
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