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