Commit Graph

299 Commits (037f52a55b724fea4a00c3ea7b9d18cd4576405d)

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