[Docs] Improve nvm usage examples

Correct two double [tab] and try to improve its readability
Peter Dave Hello 2017-04-06 00:36:13 +08:00 committed by GitHub
parent e84bcaabdc
commit 7bd7a35cb2
1 changed files with 22 additions and 16 deletions

View File

@ -390,29 +390,35 @@ Put the above sourcing line just below the sourcing line for nvm in your profile
### Usage ### Usage
nvm: nvm:
> $ nvm <kbd>Tab</kbd>
$ nvm [tab][tab] ```
alias deactivate install ls run unload alias deactivate install ls run unload
clear-cache exec list ls-remote unalias use clear-cache exec list ls-remote unalias use
current help list-remote reinstall-packages uninstall version current help list-remote reinstall-packages uninstall version
```
nvm alias: nvm alias:
> $ nvm alias <kbd>Tab</kbd>
$ nvm alias [tab][tab] ```
default default
```
$ nvm alias my_alias [tab][tab] > $ nvm alias my_alias <kbd>Tab</kbd>
```
v0.6.21 v0.8.26 v0.10.28 v0.6.21 v0.8.26 v0.10.28
```
nvm use: nvm use:
> $ nvm use <kbd>Tab</kbd>
$ nvm use [tab][tab] ```
my_alias default v0.6.21 v0.8.26 v0.10.28 my_alias default v0.6.21 v0.8.26 v0.10.28
```
nvm uninstall: nvm uninstall:
> $ nvm uninstall <kbd>Tab</kbd>
$ nvm uninstall [tab][tab] ```
my_alias default v0.6.21 v0.8.26 v0.10.28 my_alias default v0.6.21 v0.8.26 v0.10.28
```
## Compatibility Issues ## Compatibility Issues
`nvm` will encounter some issues if you have some non-default settings set. (see [#606](/../../issues/606)) `nvm` will encounter some issues if you have some non-default settings set. (see [#606](/../../issues/606))