Added instructions how to add completion manually to zsh

This commit is contained in:
Glenn Carremans 2020-03-25 22:18:57 +01:00
parent a23756475b
commit 6f378482d2
No known key found for this signature in database
GPG Key ID: E197128A4E058CEF

View File

@ -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.