Ahmad Magdy
4b0563093c
Add test nvm_install_with_node_version under test/install_script
2017-11-30 15:23:37 +01:00
Ahmad Magdy
c7ac69bfbb
Fix nvm_install_node function in install.sh script to not override the actual NODE_VERSION value
2017-11-30 14:47:42 +01:00
Jordan Harband
a57fe846e8
[Fix] `set -u`: ensure `NVM_USE_OUTPUT` is always set.
...
Fixes #1671 .
2017-11-23 10:02:37 -06:00
Jordan Harband
7bfd1e0644
Merge pull request #1669 from mail6543210/master
...
Fix for $path used by zsh
2017-11-22 08:52:13 -08:00
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
e47b313b85
[readme] Auto install not exist version in zsh .nvmrc script
...
Fixes #1272 .
2016-11-14 19:44:55 +08:00
Peter Dave Hello
4b4e71f05c
[shellcheck] disable "Check exit code directly" warning on line 273, 666
...
We need to use both the exit state and result form the previous commit,
so SC2181 should be disabled here.
2016-11-23 22:04:45 +08:00
Peter Dave Hello
5508f8dc70
[Tests] switch to use Cabal to install ShellCheck
...
1. This can help speed up the apt process since we decrease the
complexity of apt sources and package dependencies resolving by dropping
an additional ppa source.
2. Stack doesn't update ShellCheck to v0.4.5 after it has been released
more than one month, Cabal can provide ShellCheck v0.4.5
2016-11-23 22:04:45 +08:00
Peter Dave Hello
1ffa41886a
[New] Install bash programmble completions automatically
2015-05-23 14:07:34 +08:00