Commit Graph

988 Commits (3d764e6833bb495288e322cf33a6def7e283f920)

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