Commit Graph

2118 Commits (ffcb5213e20df51d50725d17b6b5117022bd308a)

Author SHA1 Message Date
Jordan Harband f060867f15
Merge pull request #1739 from PeterDaveHello/add-editorconfig
[New] Add EditorConfig to help maintain part of coding style
2018-04-14 22:36:25 -07:00
Jordan Harband 0da699605e
[eclint] only check non-ignored files 2018-04-14 22:12:22 -07:00
Peter Dave Hello d9dc8464fd
[Doc] Add macOS install script note about Git
Closes #1782
2018-04-13 01:14:39 +08:00
Peter Dave Hello 685312d600
[Fix] Remove $NVM_DIR trailing slash automatically, fix #1708 2018-04-12 14:14:58 +08:00
Peter Dave Hello 0731003cfe
[New] Integrate eclint to test partial coding style 2018-02-26 02:29:38 +08:00
Peter Dave Hello ca66a13710
`nvm debug`: Improve OS version detection 2018-02-24 02:53:40 +08:00
Peter Dave Hello 8ff437ae51
[Doc] Fix manual install & upgrade guide, fix #1772 2018-04-12 23:58:30 +08:00
Peter Dave Hello b15709e637 Turn off wget's output in nvm_get_latest()
curl output is turned off by `-s` in the same place, we should unify the
behavior on wget, also, this help removes those wget outputs that can't
fit our coding style tests. cc #1739
2018-04-12 23:44:27 +08:00
Brian M. Jemilo II 8b71861d06
[Fix] `install.sh`: Detect profile with $BASH_VERSION and $ZSH_VERSION
Using `$(basename "/$SHELL")` to detect the shell would also choose bash on mac
2018-04-09 15:13:02 -05:00
Brian M. Jemilo II 68fe26a5e4
[Fix] Add autocompletion support to zsh
Fixes #1707.
2018-04-09 14:54:28 -05:00
Peter Dave Hello 37e0977e60
`install.sh`: Improve install.sh prompt output, add a newline 2018-04-10 15:53:33 +08:00
Jordan Harband 918a39a0d0
[Tests] update mocks 2018-04-09 23:29:37 -07:00
Jordan Harband 52f1b24895
[Tests] fix mirrors in mocks update script 2018-04-09 23:28:17 -07:00
Jordan Harband 74ff70aab3
[Fix] installing with an LTS name should lowercase the name before ensuring a default
Fixes #1781.
2018-04-09 23:23:27 -07:00
Ed Reel 663bddee9b
[docs] Add removal instructions to README.md
Closes #1767.
2018-04-09 10:36:54 -05:00
Guy Lepage bc87d3dd1c
removed global install on README.md. closes #1773 2018-04-04 19:03:03 -04:00
easyaspi314 (Devin) d8689f6b9a
`bash_completion`: Reduce startup time 2018-03-12 10:41:05 -04:00
Jordan Harband 0e3bb2cc47
[Fix] ensure --reinstall-packages-from has a version number.
Fixes #1760.
2018-03-14 00:13:07 -07:00
Peter Dave Hello 2850e65b62
[Docs] Fix some typos 2018-03-03 21:18:42 +08:00
Josh Soref 2859a19bbd
[Docs] fix spelling 2018-03-06 04:38:01 +00:00
Peter Dave Hello d6fa67166c
[Fix] `reinstall-packages`: Prevent install/link when no packages found
Fixes #1744.
2018-02-27 14:05:33 +08:00
Peter Dave Hello 25b7f264d5 [Fix] Use `nvm_echo` instead of `echo` directly 2018-02-28 02:16:24 +08:00
Jordan Harband 5fc8bd950d
Fix whitespace 2018-02-25 13:34:28 -08:00
Peter Dave Hello 750571056c
[Fix] Correct most of the wrong indentation 2018-02-26 02:20:21 +08:00
Peter Dave Hello 544c3f4caa
[New] Add EditorConfig to help maintain part of coding style 2018-02-21 01:26:02 +08:00
Peter Dave Hello e7b42198b4
[Fix] Improve .nvmrc reading process
Fixes #1015. Fixes #1712.
2018-02-20 03:34:43 +08:00
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