From 6f378482d23f6e466c6bd88cc1e8f2e3b40529e9 Mon Sep 17 00:00:00 2001 From: Glenn Carremans Date: Wed, 25 Mar 2020 22:18:57 +0100 Subject: [PATCH] Added instructions how to add completion manually to zsh --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index e50e32a..ef45553 100644 --- a/README.md +++ b/README.md @@ -174,6 +174,13 @@ Then source it in your `.zshrc` (or `.bashrc`) 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 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.