mirror of
https://github.com/lukechilds/zsh-nvm.git
synced 2025-06-05 11:56:28 +08:00
Added instructions how to add completion manually to zsh
This commit is contained in:
parent
a23756475b
commit
6f378482d2
@ -174,6 +174,13 @@ Then source it in your `.zshrc` (or `.bashrc`)
|
|||||||
source ~/.zsh-nvm/zsh-nvm.plugin.zsh
|
source ~/.zsh-nvm/zsh-nvm.plugin.zsh
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Add zsh completion
|
||||||
|
Add the `~/.zsh-nvm` directory to $fpath by adding a line like this to your `.zshrc` file
|
||||||
|
|
||||||
|
```shell
|
||||||
|
fpath=(~/.zsh-nvm $fpath)
|
||||||
|
``
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
|
|
||||||
To run the tests you'll need to install [Urchin](https://github.com/tlevine/urchin#install). You'll also need to run the tests in an environment that doesn't already have `node` or `nvm` loaded.
|
To run the tests you'll need to install [Urchin](https://github.com/tlevine/urchin#install). You'll also need to run the tests in an environment that doesn't already have `node` or `nvm` loaded.
|
||||||
|
Loading…
Reference in New Issue
Block a user