New Stuff
- `nvm debug`: Print $SHLVL, add $PATH (#1655, #1745)
Fixes
- `install.sh`: detect a defined but nonexistent $NVM_DIR (#1700)
- `install.sh`: Don't give detached HEAD advice when installing (#1704)
- Add missing "command" prefixes for few commands (#1735, #1725, #1736)
- Use `nvm_echo` instead of `echo` directly (#1751)
- `reinstall-packages`: Prevent install/link when no packages found (#1750)
- ensure --reinstall-packages-from has a version number (#1760)
- `bash_completion`: Reduce startup time (#1759)
- installing with an LTS name should lowercase the name before ensuring a default (#1781)
- Add autocompletion support to zsh (#1707)
- `install.sh`: Detect profile with $BASH_VERSION and $ZSH_VERSION (#1780)
- Turn off wget's output in nvm_get_latest (#1785)
- `nvm debug`: Improve OS version detection (#1746)
Refactors
- Various style and shellcheck fixes (#1684, #1724, #1747, #1748)
- Optimize ShellCheck installation in Docker image (#1729)
- Remove duplicate code in nvm_npm_global_modules() (#1742)
- Use grep `-q` parameter instead of redirect to /dev/null (#1741)
- `install.sh`: Improve install.sh prompt output, add a newline (#1783)
Docs
- Explain `.nvmrc` better (#1673)
- Update minimum git version to v1.17.10
- Add escape sequences (#1701)
- add `nvm which current` to `nvm --help` output
- avoid need for future copyright year updates (#1713)
- Add reminder that NVM_DIR should not contain trailing slash (#1726, #1708)
- Display FreeBSD and SunOS with correct caps (#1728)
- Update Docker image build info in README.md (#1733)
- Various typo fixes (#1756, #1753)
- removed global install on README.md (#1775, #1773)
- Add removal instructions to README.md (#1777, #1767)
- Fix manual install & upgrade guide (#1786, #1772)
- Add macOS install script note about git (#1787, #1782)
Tests
- add test for aliased `.` (#1701)
- fix mirrors in mocks update script, update mocks
- Add EditorConfig to help maintain part of coding style (#1739)