Commit Graph

1806 Commits

Author SHA1 Message Date
mail6543210
9352f6913a Add symbolic link for printf in case of command-not-found 2017-11-22 02:01:38 +08:00
mail6543210
16d3e6d2dc Remove unnecessary, incorrect workaround.
The "\printf" calls zsh shell builtin instead of `command printf` in scripting.

The workaround is no longer needed given 91a29c0.
2017-11-22 00:57:27 +08:00
mail6543210
91a29c0da2 Fix for $path used by zsh
"The lower-case version of PATH is an array parameter
bound to the scalar upper-case parameter."
-- http://www.zsh.org/mla/users/2015/msg00178.html
2017-11-20 22:32:13 +08:00
Jordan Harband
4b48556e92
Merge pull request #1665 from norpol/fix_issue_1664_unassigned_variable_20171115
Fix #1664: unassigned variable
2017-11-17 23:31:26 -06:00
Phileas Lebada
be171bba33 Add unset-variable as exit error 2017-11-15 17:19:05 +01:00
Phileas Lebada
049a86022f Add empty value to local variable 2017-11-15 17:17:57 +01:00
David Gatti
a7b7eec0c5
[Docs] Added missing piece
This sentence broke my brain when I read it the first time :) I hope this helps.
2017-11-08 01:02:15 +01:00
Jordan Harband
9953a52afb
Merge pull request #1644 from citrusui/patch-1
[Docs] Make `nvm cache clear` message less ambiguous
2017-10-28 22:42:14 -07:00
Avery Magnotti
fc30e0ade4
Make nvm cache clear message less ambiguous 2017-10-28 20:30:28 -04:00
Jordan Harband
b546436113
v0.33.6 2017-10-23 23:53:26 -07:00
Darío Hereñú
016bc134d5 Typo 2017-10-23 02:23:04 -03:00
Peter Dave Hello
9c25a8f316 [Cleanup] Remove ghc related things in .travis.yml, cc #1619 2017-10-22 00:42:07 +08:00
Christopher Beland
a954458829
[Docs] Improve git installation instructions 2017-10-18 10:39:11 -04:00
Jordan Harband
09951b49c5 Only apps should have lockfiles 2017-10-05 13:34:54 -07:00
Jordan Harband
3b133fac2f
[Fix] install-latest-npm: npm v5.4+ breaks on node v4.5 and v4.6. 2017-10-04 11:04:27 -07:00
Michał Gołębiowski-Owczarek
6ac8ebafba Add a Git .mailmap with my new name
In this way my past contributions are mapped correctly.
2017-10-04 12:55:41 +02:00
Jordan Harband
62fb0d0ad6 Merge pull request #1605 from PeterDaveHello/fix-install.sh
[Fix] install.sh shouldn't use not existed variable
2017-10-03 22:23:48 -07:00
Peter Dave Hello
a461a0fffc [Fix] install.sh shouldn't use not existed $NVM_PROFILE 2017-10-04 10:10:47 +08:00
Jordan Harband
6597e11971
v0.33.5 2017-09-29 12:50:27 -04:00
Jordan Harband
707d268a76 Merge pull request #1619 from PeterDaveHello/refactor-travis-config
Remove the manual ShellCheck install proecss on Travis CI
2017-09-28 10:45:49 -07:00
Peter Dave Hello
73ad812215 Remove the manual ShellCheck install proecss on Travis CI 2017-09-29 00:22:43 +08:00
Jordan Harband
8c578b864d [Fix] ensure all grep calls go through nvm_grep.
Fixes #1615.
2017-09-22 19:11:43 -07:00
Peter Dave Hello
d535c97d0f Enhance nvm debug with more tools info 2017-09-21 22:09:15 +08:00
Xandor Schiefer
334897ae39
Preserve PATH locations order when changing versions 2016-11-14 19:19:39 +02:00
Jordan Harband
7b8af94fc9
[Tests] retry io.js test runs, since iojs.org is flaky. 2017-09-08 01:32:54 -07:00
Peter Dave Hello
7753b24948
[Docs] Update README.md for Alpine linux reference
Add 4 packages as Alpine Linux wiki suggested:
(grep util-linux binutils findutils)

https://wiki.alpinelinux.org/wiki/How_to_get_regular_stuff_working
2017-09-07 18:00:08 +08:00
Xandor Schiefer
44ab611421
[Fix] unset NVM_RC_VERSION when unloading 2017-09-07 16:52:05 +02:00
Jordan Harband
c0b56d03a1
[Fix] install-latest-npm: io.js v1.0.x has weird behavior with npm v4.6.x.
- comment out node 0.6 test due to travis-ci breakage
2017-09-07 15:57:09 -07:00
Jordan Harband
d91b6197f3
v0.33.4 2017-09-04 22:59:50 -07:00
Jordan Harband
e3d1519567 [Fix] install-latest-npm: io.js v1.0.0 has weird behavior with npm v4.6.x. 2017-09-04 22:01:46 -07:00
Jordan Harband
6f19babbff
v0.33.3 2017-09-03 12:46:59 -07:00
Jordan Harband
b3e25b15f9
nvm_install_latest_npm: npm v5.4+ breaks on node v4-4.4 and v5-5.9, due to missing Buffer.alloc. 2017-09-02 14:04:37 -07:00
Jordan Harband
cf5272e1a0 [Fix] set -u: nvm install: fix unbound vars
Fixes #1587.
2017-08-08 20:53:51 -07:00
Jordan Harband
3e1b4591bd
[New] install.sh: install bash_completion via script method.
Fixes #1588.
2017-08-08 10:11:41 -07:00
Jordan Harband
389a53cca9 [Fix] set -u: nvm use: ensure these two vars don’t error out.
Fixes #1587.
2017-08-08 00:05:38 -07:00
Peter Dave Hello
248706d5f8
[New] Clean up git reflog history before git gc 2017-07-14 00:37:58 +08:00
Peter Dave Hello
ab591b07ef [New] Print $TERM_PROGRAM in nvm debug if it exists 2017-07-14 01:48:27 +08:00
Peter Dave Hello
38a568c9c9
[New] Add --auto to git gc to speed up install & upgrade 2017-07-11 09:19:02 +08:00
GeekBlogTV
b3bdbb2712
[Docs] updated to reflect current script output 2017-07-08 01:31:13 -05:00
Mike Ferrari
6921adb2f4
[Docs] add note about Linux troubleshooting 2017-06-26 12:22:34 -07:00
Peter Dave Hello
f37ddea78f
[Docs] Fix typos in Docker instructions 2017-07-08 18:50:06 +08:00
Peter Dave Hello
1e69c4c77d
[New] Speedup process to install nvm from git by dropping commit history 2017-04-02 15:49:01 +08:00
Peter Dave Hello
3ac49e5ef1
[New] Introduce Docker environment for nvm 2017-04-02 08:03:32 +08:00
Peter Dave Hello
0356839d05 [Fix] Adjust $CURL_COMPRESSED_FLAG usage for curl, fix #1562 2017-06-27 15:04:28 +08:00
Peter Dave Hello
b5034bb2b2
[bash completion] add missing install-latest-npm; remove undocumented clear-cache 2017-06-23 14:21:10 +08:00
Jiri Spac
d073bc96c7
[Docs] bump sample version numbers 2017-06-01 16:46:53 +02:00
Peter Dave Hello
11370fe823 [Fix] curl should fail if something wrong, fix #1556 2017-06-14 10:58:38 +08:00
Jordan Harband
cbdd41eee2
[New] nvm install: add --latest-npm option to automatically try to upgrade to the latest working version of npm.
- also add `nvm install-latest-npm` top-level command
2017-06-11 14:15:04 -07:00
J Huang
28fe93cd15
[Fix] nvm install -s: properly precompute clang version 2017-06-13 13:06:53 +08:00
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