Luke Childs
dff4f80f32
Add fast test to check nvm uninstall with file permission error
2016-04-18 21:17:44 +01:00
Luke Childs
6fb528f4e4
Add slow test to check nvm uninstall
2016-04-18 21:17:44 +01:00
Luke Childs
005e29a223
Check dir permissions before attempting to nvm uninstall
2016-04-18 21:16:37 +01:00
Jordan Harband
d3e334d86d
[Fix] `read` exits 1 when `.nvmrc` lacks a trailing newline - avoid that.
...
Per https://github.com/creationix/nvm/issues/993#issuecomment-205399603
2016-04-04 22:08:36 -07:00
igrayson
6299cba467
Update README.markdown
...
Add mention for ~/.bashrc
2016-04-02 16:48:37 -07:00
Vincent Tunru
b6f160a7b3
Fixes #995 : Add example .nvmrc to the README
2016-03-27 00:15:31 +01:00
Jordan Harband
273ebedc55
[Fix] avoid an unbound variable when `nounset` bash option is set.
...
Per https://github.com/creationix/nvm/issues/868#issuecomment-198232952
2016-03-18 00:28:30 -07:00
Frankie Bagnardi
d03f575446
Adds fast-nvm-fish to README
2016-03-17 14:14:21 -07:00
Robson Peixoto
8fb4ee0789
Unset unnecessary environment variables
2016-03-11 14:53:36 -03:00
flowmemo
d8a3b074a6
fixed the number of alternatives in Windows in README.markdown
2016-03-11 23:31:28 +08:00
Whitney Young
972be30a1a
Add link to avn
...
Also, clarified the existing shell integration intro text.
2016-03-08 19:48:27 -08:00
Tobias Witt
ae70d558cb
Add section about "Deeper shell integration"
...
Also adds a snippet for zsh user to auto-issue `nvm use` when entering a
directory.
2016-03-08 18:44:30 +01:00
Adam Patridge
e76221fd15
Added note about OSX's missing .bash_profile file.
2016-03-03 14:01:23 -07:00
Jordan Harband
2176894a5b
v0.31.0
2016-02-15 09:18:15 -08:00
Jordan Harband
cf7d5d8042
Merge pull request #1011 from dohse/keep-parameters
...
[Fix] Do not modify args of sourcing script when parsing `--install`/`--no-use` arg
Fixes #976 .
2016-02-15 09:17:24 -08:00
Jonas Dohse
7135873f80
Do not modify parameters of sourcing script in zsh
...
When sourcing a script without parameters in zsh the sourced scripts
gets the same parameters as the sourcing file and is able to modify
these parameters. Prevent nvm from removing all parameters of sourcing
script by processing a copy of the parameters in a function.
2016-02-15 17:49:46 +01:00
Jordan Harband
dc9020b133
Merge pull request #1004 from tlevine/env-bash
...
[Fix] use env bash rather than /bin/bash
2016-02-14 12:05:10 -08:00
Thomas Levine
0eaa7e0bde
use env bash in nvm-exec and install.sh
2016-02-14 19:34:19 +00:00
Thomas Levine
06b81f0f36
use env bash rather than /bin/bash
...
My bash is not installed in /bin/bash.
2016-02-14 19:34:19 +00:00
gmisra
8a20234586
Document how to reload nvm after upgrading
2016-02-09 19:12:22 -08:00
Jordan Harband
44541b416f
[New] After installing, ensure that the default is set.
2016-02-04 00:26:33 -08:00
Jordan Harband
731c2f3f70
Add `nvm_get_minor_version`
2016-02-04 11:16:09 -08:00
Jordan Harband
de64a2d95f
[Fix] `nvm_format_version` should only return 3 version groups
2016-02-06 22:34:49 -08:00
Jordan Harband
77e0449c89
[Fix] `nvm-exec`: properly exit when failing; improve error messages, suppress `nvm use --help` output
...
Fixes #997 .
2016-02-04 11:19:34 -08:00
Sébastien Larivière
649e416017
[Refactor]Double quote to prevent globbing and word splitting.
2016-01-30 22:17:15 -05:00
Jordan Harband
754a0d7c5b
Merge pull request #981 from woodb/node-v4-checksums
...
[New] Added support for sha256 checksums on `io.js` / merged `node`.
Fixes #664 , relates to #736 and #687 .
2016-01-24 10:40:06 -08:00
Brandon Wood
f73bfb6578
Updated warning message when sha256sum utility not found
...
Relates to @ljharb's comment on the warning message not including all of the
utilties searched for.
https://github.com/creationix/nvm/pull/981#discussion_r50638351
2016-01-24 11:53:19 -06:00
Brandon Wood
f1bca106a8
Added (optional) support for sha256 checksum utils
...
This commit adds (optional) support for additional sha256 checksum utilities
for newer versions of node.js and io.js that use sha256 checksums rather than
sha1.
If nothing is found to do a sha256 checksum on the client machine, a warning is
printed and things continue on as normal.
Following comments from @ljharb on incorporating some of @DomT4's PR
creationix/nvm#664 , and making this checksum optional. If I could I would
gladly include this as an addon to the now closed PR creationix/nvm#664 . I am
choosing not to file it onto that PR because it's closed and (currently)
significantly behind the master branch.
@DomT4 did the hard work of actually finding all the different ways in which
one could verify a sha256 checksum, I've just included those here in an effort
to move forward with sha256 checksum support.
2016-01-24 10:31:26 -06:00
Brandon Wood
560c8c9500
Added support for sha256 checksums
2016-01-23 21:25:03 -06:00
Jordan Harband
21c3727955
v0.30.2
2016-01-21 00:23:01 -08:00
Jordan Harband
4fcf37fa29
[New] support `--no-use` on sourcing, in supported shells.
...
Fixes #972 .
2016-01-20 12:50:45 -08:00
Nick Hwang
e76fe61d95
Add missing space before closing bracket
2016-01-19 13:03:11 -05:00
Jordan Harband
00a8b36b78
[Fix] handle unbound shell variables.
...
Fixes #868 .
2016-01-17 15:12:02 -08:00
Dwayne Crooks
1e1a005a53
[Docs] Add manual upgrade instructions to README.markdown
2016-01-16 07:01:46 -04:00
Jordan Harband
1ba8a96ec9
Merge pull request #957 from matthew-campbell/fix-profile-var
...
[Fix] `install.sh`: honor PROFILE var.
Closes #888 . Fixes #830 .
2016-01-02 09:04:07 -08:00
Matthew Campbell
4f4ff208eb
Improve error messages
2016-01-02 11:16:50 -05:00
Matthew Campbell
78fee866f5
Remove usage of declare
2016-01-01 22:33:45 -05:00
Matthew Campbell
8dc53d4dd5
Refactor and fix nvm_detect_profile tests
...
close #833
close #957
2016-01-01 20:45:36 -05:00
Matthew Campbell
645bda4987
Addresses comments to close #833
2016-01-01 14:09:35 -05:00
David Mankin
918fcb4bd2
PROFILE env var should override detected profile
...
Add tests for PROFILE overriding detected files
2016-01-01 14:00:36 -05:00
David Mankin
cb138a1815
Fix error messages in tests
2016-01-01 13:34:34 -05:00
Jordan Harband
6094dac1c1
[Fix] `nvm debug` was printing a red herring error message in non-zsh.
2015-12-30 09:45:13 -08:00
Jordan Harband
0aa3118de3
v0.30.1
2015-12-28 12:46:41 -08:00
Jordan Harband
2541baaf7d
[Refactor] Create `nvm_get_make_jobs` to abstract out “-j” logic.
2015-12-28 12:20:14 -08:00
Jordan Harband
dc8b63cb25
[Fix] `nvm install -s`: fix syntax errors.
2015-12-28 12:19:50 -08:00
Jordan Harband
f3cc95bc66
Merge pull request #952 from davemay99/install-fix-quotes
...
[Fix] install.sh: quote `$DETECTED_PROFILE`
2015-12-28 09:24:42 -08:00
Dave May
00d4520d35
Merge remote-tracking branch 'creationix/master' into install-fix-quotes
2015-12-28 12:08:57 -05:00
Jordan Harband
8ec056f768
v0.30.0
2015-12-27 23:19:14 -08:00
Dave May
f113c5d030
fix quoting for usernames with space
2015-12-28 00:34:38 -05:00
Jordan Harband
f279837d5c
[Refactor] fix some bugs in `nvm_is_natural_num`, add unit tests.
2015-12-27 13:15:53 -08:00