[readme] add headings to certain sections

Fixes #2413.
Sladyn Nunes 2021-03-03 20:47:44 +05:30 committed by Jordan Harband
parent 9cb6a2b614
commit 25d2ebf2f8
No known key found for this signature in database
GPG Key ID: 9F6A681E35EF8B56
1 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,9 @@
- [Setting Custom Colors](#setting-custom-colors) - [Setting Custom Colors](#setting-custom-colors)
- [Persisting custom colors](#persisting-custom-colors) - [Persisting custom colors](#persisting-custom-colors)
- [Suppressing colorized output](#suppressing-colorized-output) - [Suppressing colorized output](#suppressing-colorized-output)
- [Restoring PATH](#restoring-path)
- [Set default node version](#set-default-node-version)
- [Use a mirror of node binaries](#use-a-mirror-of-node-binaries)
- [.nvmrc](#nvmrc) - [.nvmrc](#nvmrc)
- [Deeper Shell Integration](#deeper-shell-integration) - [Deeper Shell Integration](#deeper-shell-integration)
- [bash](#bash) - [bash](#bash)
@ -440,18 +443,21 @@ nvm help --no-colors
TERM=dumb nvm ls TERM=dumb nvm ls
``` ```
#### Restoring PATH
To restore your PATH, you can deactivate it: To restore your PATH, you can deactivate it:
```sh ```sh
nvm deactivate nvm deactivate
``` ```
#### Set default node version
To set a default Node version to be used in any new shell, use the alias 'default': To set a default Node version to be used in any new shell, use the alias 'default':
```sh ```sh
nvm alias default node nvm alias default node
``` ```
#### Use a mirror of node binaries
To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`: To use a mirror of the node binaries, set `$NVM_NODEJS_ORG_MIRROR`:
```sh ```sh