Commit Graph

1907 Commits (6e0562ac6da71f48fecd218705745f854fde0c77)

Author SHA1 Message Date
J Huang 7965796569
[Fix] enable curl compression only on curl >=7.21.0
curl < 7.21.0 will output redirection reponse body to the output when compressed, which will cause tarball is prepended with redirection reponse body and leads to checksum mismatch.

 - add `nvm_curl_use_compression` and `nvm_curl_version`
2017-06-10 15:25:26 +08:00
Shiva Bhusal d2644b22f9 [Docs] Install script - Improve installation guide
If installation is prompted to be successful, yet `which nvm` command returns `not found` then you might need to restart your terminal instance. Try opening a new tab/window in your terminal and retry.
2017-06-03 11:49:33 +05:45
Nicolás Bevacqua 051ef09daf Fix `--version` help text 2017-06-01 10:06:43 -03:00
Jordan Harband 3497474fef [Docs] move the install script to the top; put the notes in a separate section. 2017-05-26 21:09:59 -07:00
Peter Dave Hello c3c2d350e9 [Tests] Fix cache for WITHOUT_CURL tests in Travis 2017-05-19 13:58:14 +08:00
Jordan Harband 4f626eac0d [Fix] `set -u`: when `ALIAS` is unset, don’t reference an unbound variable.
Fixes #1526.
2017-05-16 22:58:26 -07:00
Weston Ganger 7f3145bc98
[New] add support for `$NVM_DIR/default-packages` file 2017-03-28 09:37:14 -07:00
Jordan Harband dc5dfe3bc1
[Fix] set IFS to default for all nvm commands.
Fixes #1227. Fixes #1244. Fixes #1514. Fixes #1518.
2017-04-28 00:41:55 -07:00
Jordan Harband accd6ae298
[Fix] ensure if `npm link` fails, that `$IFS` is not improperly set.
https://github.com/creationix/nvm/issues/1519#issuecomment-297850323
2017-04-28 00:39:48 -07:00
Jumpei Ogawa caa7de37af
[Fix] `set -u`: ensure that potentially unbound variables aren’t called unchecked.
This commit is follow up for 853afbf.
Fixes remaining bug in #1363
2017-04-27 20:17:21 +09:00
Jordan Harband 0a95e77000
v0.33.2 2017-04-26 00:50:33 -07:00
Piper Chester 964c7b3115
[Docs] README.markdown → README.md 2017-04-08 09:19:15 -07:00
Peter Dave Hello bee7b9970e [Docs] Remove archlinux python tips in "Problems"
This is not working at all.
2017-04-23 23:33:42 +08:00
Peter Dave Hello f38d21c529 [Docs] Improve "Problems" README section readability 2017-04-13 17:56:46 +08:00
Peter Dave Hello 7aa3448259
[Tests] Add curl back when WITHOUT_CURL test done since cache needs it 2017-04-09 13:13:25 +08:00
Peter Dave Hello a66a9caa1c
[Tests] Use node v0.10.7 for thread para test as other install from src tests 2017-04-09 13:08:04 +08:00
Jordan Harband ec2b02e187
npm run doctoc 2017-04-12 16:11:01 -07:00
rouzbeh84 0f25994c8e
[Docs] git install update
- added git as the last method before full manual install.
- added the directory on `git clone` command
- added the `git checkout v0.33.1` as the -v gets updated automatically
2017-04-06 16:23:50 -07:00
Peter Dave Hello 229c7e6f0c [Tests] Test "make release" in Travis CI 2017-04-09 15:16:13 +08:00
Peter Dave Hello d80686c7cd [Makefile] Introduce _ensure-current-version to ensure version tags 2017-04-09 15:09:31 +08:00
Piper Chester 65aedc105a
[Docs] capitalize C++ 2017-04-08 09:16:54 -07:00
Peter Dave Hello 153f8e7b31 [Fix] To confirm curl exists before detecting curl libz feature 2017-04-09 13:44:07 +08:00
Peter Dave Hello e87f395b7a
[Refactor] minor "if" and "return" improvement 2017-04-06 03:55:42 +08:00
Peter Dave Hello 2ec2d31012 [Tests] Re-enable WITHOUT_CURL tests 2017-04-06 14:52:26 +08:00
Peter Dave Hello daa9c3604d
[Fix] To confirm curl exists before detecting curl libz feature 2017-04-06 05:20:55 +08:00
Peter Dave Hello ec3ba1973a
[New] `install.sh`: Parallel script download jobs 2017-04-05 04:54:38 +08:00
Peter Dave Hello c6866eeb37
[Test] "nvm alias" lts test bug fix 2017-04-02 14:34:04 +08:00
Peter Dave Hello 7bd7a35cb2 [Docs] Improve nvm usage examples
Correct two double [tab] and try to improve its readability
2017-04-06 00:36:13 +08:00
Peter Dave Hello e84bcaabdc
[Refactor] Improve profile detection in install script 2017-04-03 23:06:04 +08:00
Yanick Champoux d4e3f0943b
[Docs] add 'fnm' as part of the fish alternatives 2017-04-04 15:01:39 -04:00
Peter Dave Hello 3f5fd57881
[Refactor] Reduce a sed command with pipe 2017-04-05 04:58:34 +08:00
Peter Dave Hello f524bcb973
[Fix] Correct indent in install.sh 2017-04-05 05:01:54 +08:00
Peter Dave Hello a0534b720a [Tests] Reduce apt package dependencies calculation complexity 2017-04-02 16:48:28 +08:00
Peter Dave Hello 424056c839 [Tests] Remove ShellCheck manual dependency install under Ubuntu 14.04 2017-04-02 15:49:01 +08:00
Peter Dave Hello 18df8e3d2e [Tests] Remove ppa source since we migrated to Ubuntu Trusty 2017-04-02 07:24:56 +08:00
Jordan Harband 4249b1c2bb
[Fix] `nvm_ensure_version_installed`: add `system` support.
Relates to #1238
2017-03-31 00:52:56 -07:00
Peter Dave Hello 5776cc952a
[copyright] update to 2017 2017-03-29 17:54:15 +08:00
Peter Dave Hello 6c24346af5 [New] Add missing commands in bash_completion 2017-03-30 19:49:30 +08:00
Peter Dave Hello 450088e51a
[Refactor] Improve if conditoion logic in "use" 2017-03-30 00:41:31 +08:00
Peter Dave Hello 9a6e657e53
[Docs] Remove curl `--compressed` notes since we added its detection 2017-03-29 17:51:23 +08:00
Peter Dave Hello 8fc7e854de
[Tests] Comment out ksh dependency installation, cc #574
- Mistakenly uncommented in 70370a857f
 - per afba4e08fd / #574
2017-03-29 18:05:15 +08:00
Peter Dave Hello 93c1036758
[Tests] Move to Ubuntu 14.04 on Travis CI
Since Ubuntu 12.04 is pretty old now, it's also going to EOL next month,
maybe we can just move on Ubuntu 14.04 first.
2017-03-26 05:19:57 +08:00
Ægir Örn Símonarson 4411abf82e [Docs] Add Mac OS "troubleshooting" to README
It has a section on nvm node version not being found in vim.
2017-03-29 19:04:31 -07:00
Peter Dave Hello a36af70571
[Docs] Update issue #900 title in README.markdown 2017-03-28 22:47:34 +08:00
Peter Dave Hello 059ab0e1ac
[Refactor] Make the code a little bit cleaner 2017-03-28 15:27:49 +08:00
Jordan Harband b9f9977cdd
[Fix] `nvm install -s`: npm detection
- add `nvm_use_if_needed`
 - add `nvm_install_npm_if_needed`
2017-03-27 15:00:50 -07:00
Peter Dave Hello 676fff0219
[completions] Remove nospace in bash_completion 2017-03-26 06:10:53 +08:00
Peter Dave Hello 7b253c8c0a
[New] Supercharge `nvm debug` output
Try to get shell version, OS and its version, curl/wget/git version.
2017-03-23 14:48:00 +08:00
Peter Dave Hello f344d0694b [Tests] Move cabel, nvm & npm install into TravisCI "install" section 2017-03-26 05:22:48 +08:00
Peter Dave Hello d9704471ff [Tests] Cache "node_modules" in CI 2017-03-26 04:06:32 +08:00