Merge pull request #1955 from daveisadork/feature/zsh-docs-update-1731

zsh docs update (fixes #1731)
This commit is contained in:
Adrian Sampson 2016-04-25 11:19:50 -07:00
commit 85dee53bdd

View file

@ -435,7 +435,10 @@ later on you will want to re-generate the script.
zsh
```
If you use zsh, take a look at the included `completion script`_.
If you use zsh, take a look at the included `completion script`_. The script
should be placed in a directory that is part of your ``fpath``, and `not`
sourced in your ``.zshrc``. Running ``echo $fpath`` will give you a list of
valid directories.
Another approach is to use zsh's bash completion compatibility. This snippet
defines some bash-specific functions to make this work without errors::