Commit Graph

1942 Commits (10399ed1bd02d26e8fa9a3ac65f3235a218c7fe1)

Author SHA1 Message Date
Peter Dave Hello 5f53caadad
[Refactor] Use grep `-q` parameter instead of redirect to /dev/null 2018-02-03 11:29:31 +08:00
Peter Dave Hello 9c42470347
[New] Add "$PATH" to `nvm debug` output 2018-02-06 08:17:20 +08:00
Peter Dave Hello 9f34b3e95c Remove trailing space 2018-02-26 01:03:01 +08:00
Peter Dave Hello 41ec44f6b5 Add missing final newline in test script 2018-02-26 01:02:41 +08:00
Peter Dave Hello 2cd2c0f72e Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
Peter Dave Hello f3076d14c9
[Fix] Add missing "command" prefixes for few commands 2018-02-20 04:05:47 +08:00
Peter Dave Hello bb803492d8 Remove duplicate code in nvm_npm_global_modules()
No matter what's the result of the condition here, the path is the same.
2018-02-22 09:43:09 +08:00
Peter Dave Hello f290ccf1d5
[Fix] Add missing "command" prefix for "tr", fix #1725 2018-02-19 13:59:26 +08:00
Peter Dave Hello 225e447b54 [Doc] Update Docker image build info in README.md 2018-02-19 00:27:04 +08:00
Peter Dave Hello 77da9f5a6d
Optimize ShellCheck installation in Docker image
Use pre-built static release binary instead of building ShellCheck from
the source code, this change would save disk space, time, and much
computing resources.
2018-01-18 00:33:41 +08:00
Peter Dave Hello 3ed47431f8
[New] Print $SHLVL in `nvm debug` 2017-11-05 03:25:04 +08:00
Peter Dave Hello aad269d224
Display FreeBSD and SunOS with correct caps 2018-02-12 02:15:01 +08:00
Christoph Krautz 74f455e610 [Docs] Add reminder that NVM_DIR should not contain trailing slash, fix for #1708 2018-02-09 11:51:46 +01:00
Karthik K f5b5f2d41d
[copyright] year to 2010 obsoleting future updations 2018-01-26 12:20:13 +05:30
Peter Dave Hello a23f7169a6
[Fix] Correct nvm.sh indent 2018-01-26 11:30:57 +08:00
Jordan Harband 71032cfaa1
[Tests] update to latest npm in this test 2018-02-08 22:53:41 -08:00
Jordan Harband 6dd9ecb607
[Docs] add `nvm which current` to `nvm --help` output 2018-01-16 16:55:50 -08:00
Yannick Ihmels 7ca8acc98d
[Docs] [Tests] Add escape sequences; add test for aliased `.` 2018-01-13 21:25:30 +01:00
Paul Norman d34bb3247d
`install.sh`: Don't give detached HEAD advice when installing 2018-01-10 13:21:27 -08:00
Jordan Harband 3e81904525
Update minimum git version to v1.17.10
Per https://github.com/creationix/nvm/pull/1704#discussion_r161366186
2018-01-12 23:24:56 -08:00
Jordan Harband 7cba6cd6d0
`install.sh`: detect a defined but nonexistent $NVM_DIR
(ref: #1700)
2018-01-06 09:34:11 -08:00
p-salido 9273f23bc8
[Docs] Explain `.nvmrc` better 2017-11-23 23:09:44 -05:00
Jordan Harband 2a259435c8
Merge pull request #1684 from PeterDaveHello/ShellCheck-v0.4.7-fixes
ShellCheck v0.4.7 fixes
2017-12-13 14:49:34 -08:00
Peter Dave Hello 2a8a81da94 [Fix] ShellCheck SC1117 in nvm.sh & install.sh 2017-12-14 03:26:17 +08:00
Peter Dave Hello fce7f4ed13 [Fix] Disable ShellCheck SC2207 in bash_completion line 14 2017-12-14 02:11:50 +08:00
Jordan Harband 7ad6d98ced
v0.33.8 2017-12-12 10:43:17 -08:00
Jordan Harband fa9c50520d [Fix] `nvm install-latest-npm`: fix for node 4.5/4.6. 2017-12-12 00:13:00 -08:00
Jordan Harband 4846d57c69
`nvm use`: perfect pre-npm-config env var checking 2017-12-05 00:00:18 -08:00
Jordan Harband 65f0572bdc
v0.33.7
Fixes
 - fix unassigned variable (#1665, #1664)
 - Fix for $path used by zsh (#1669)
 - `set -u`: ensure `NVM_USE_OUTPUT` is always set (#1671)
 - `install.sh`: Fix a bug that block that installation of node in install.sh (#1676)
 - `nvm install-latest-npm`: fix node 4-4.6

Documentation
 - Make `nvm cache clear` message less ambiguous (#1644)
 - Added missing piece (#1658)
2017-12-08 21:21:42 -08:00
Jordan Harband b6a7a54d04
[Fix] `nvm install-latest-npm`: fix node 4-4.6 2017-12-08 21:20:59 -08:00
Jordan Harband 8a8dcbb393
Merge pull request #1676 from Quadric/fix-node-version-in-install-script
`install.sh`: Fix a bug that block that installation of node in install.sh
2017-12-03 11:47:39 -08:00
Ahmad Magdy bacdd95591 Update test/install_script/nvm_install_with_node_version to use nvm ls 8 instead of grep! 2017-11-30 15:33:01 +01:00
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