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
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