Tim Caswell
855d89bef0
Merge pull request #251 from stelcheck/NVM_DIR
...
* NVM_TARGET renamed to NVM_DIR
12 years ago
Tim Caswell
36843d97cb
Merge pull request #250 from ronkorving/gitless
...
Git-less installation script
12 years ago
stelcheck
c5437bb222
* NVM_TARGET renamed to NVM_DIR (this will ensure that any locally
...
* existing nvm copy will be picked up and updated)
12 years ago
stelcheck
d428bcd50e
* TARGET was not converted to DIR
12 years ago
stelcheck
f82cde11a9
* Using raw.github.com instead, downloading only nvm.sh
...
* tar no longer required
12 years ago
Ron Korving
dc46a740a3
Fix newline issue in install.sh
12 years ago
Ron Korving
93e84a2676
Moved gitless installer into its own file.
12 years ago
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.
12 years ago
Tim Caswell
5c6af59fcd
Merge pull request #236 from donovanjamesking/master
...
Fixes issue 232 and "nvm ls" returning "N/A" when it shouldn't
12 years ago
Tim Caswell
72fd8c970a
Merge pull request #229 from em-/testsuite-fixes
...
Testsuite fixes
12 years ago
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.
12 years ago
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.
12 years ago
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`.
12 years ago
Tim Caswell
b2b29ff5c5
Merge pull request #243 from lgw4/master
...
Changed git download protocol from git:// to https:// to work around firewalls.
12 years ago
Chip Warden
6c57b275db
Changed git protocol from git:// to https:// to work around firewalls.
12 years ago
Tim Caswell
7cc6f37e69
Merge pull request #242 from koenpunt/patch-1
...
Return 1 so exit status is not null on error
12 years ago
Koen Punt
0f05655ee6
Return 1 so exit status is not null on error
12 years ago
Tim Caswell
6b932e59c3
Remove column since many common environments don't have it.
12 years ago
Yoshiki Shibukawa
9a8e66cfca
Update README.markdown
12 years ago
Tim Caswell
66633de1a9
Merge pull request #235 from okuryu/fix-install
...
Remove `-e` option in `install.sh` script
12 years ago
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.
12 years ago
Ryuichi Okumura
9205ff8001
Remove `-e` option in `install.sh` script
...
The `sh` actually doesn't support `-e` option.
12 years ago
Tim Caswell
367ae728fb
Merge pull request #231 from miguelcoba/patch-1
...
Drop invalid -a flag for basename.
12 years ago
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)
12 years ago
Tim Caswell
eade411422
Merge pull request #198 from ArtemGordinsky/master
...
Adding a newline before the source string in the ".bash_profile"
12 years ago
Tim Caswell
cca6edfc5c
Merge pull request #203 from em-/master
...
Don't trust the environment and explicitly ask for the builtin `cd'
12 years ago
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 }
12 years ago
Emanuele Aina
f1b484ee87
Silence stderr warning on `nvm uninstall' with no configured alias
12 years ago
Tim Caswell
6c3708d337
Merge pull request #195 from gpad/patch-1
...
Resolved Issue #194
12 years ago
Tim Caswell
91a7aa8611
Merge pull request #222 from jnlin/master
...
Added FreeBSD support
12 years ago
jnlin
db7494494c
Add FreeBSD support
12 years ago
techdives
ca44bafff2
Update README.markdown
...
I do think recent changes changed nvm to .nvm.
12 years ago
Tim Caswell
01189e144c
Merge pull request #200 from croach/issue-199
...
Fixes Issue 199
12 years ago
Tim Caswell
3fe12f0a49
Merge pull request #202 from hugojosefson/recommend-version-0.8
...
Recommend version 0.8 in README.markdown.
12 years ago
Hugo Josefson
e4acd63991
Clarify difference between `nvm ls` and `nvm ls-remote`.
12 years ago
Hugo Josefson
3ce23aa726
Recommend version 0.8 in README.markdown.
...
Automatically install the latest available 0.8.x version.
12 years ago
Christopher Roach
205117bed4
Fixes issue 199
...
Fixes issue 199 where the bash completion was not working in ZSH
because the builtin bash command `complete` was not found. The fix
executes the `bashcompinit` command which creates the `complete`
function for the Z shell.
12 years ago
Artem
9c7da6cec3
Adding a newline before the source string in the ".bash_profile"
...
Resolved Issue #197
12 years ago
Artem
1088b4b00f
Ignoring the ".DS_Store" files on OS X
12 years ago
GPad
5811cb9e73
Resolved Issue #194
...
Issue #194
12 years ago
Tim Caswell
0ec339e040
Merge pull request #192 from gpad/nvmrc
...
Use .nvmrc if present
12 years ago
GPad
7226e5fb98
read the .nvmrc if present
12 years ago
GPad
bc9c82cb9f
read version from .nvmrc if not specified
12 years ago
Tim Caswell
f605581c7d
return not exit
12 years ago
Tim Caswell
87a76af398
Merge pull request #191 from koenpunt/patch-1
...
Add exit code, fix #190
12 years ago
Koen Punt
70e1b81ad3
Add exit code, fix #190
12 years ago
Tim Caswell
e145978e73
Merge pull request #189 from kt3k/feature/hyphen-s-option-2
...
Add -s option to force install from source
12 years ago
Yosiya Hinosawa
a6be969403
changed shasums file url because in v0.8.6 .txt.asc file is not available.
12 years ago
Yosiya Hinosawa
184f641730
fixed the condition for the binary package availability.
12 years ago
Yoshiya Hinosawa
7dc0827eaa
minor modifications.
12 years ago