docs(Shell-Completion.md): modified conditional for .zshrc to include call to compinit

This commit is contained in:
Kreig Zimmerman 2020-02-21 17:28:24 -05:00
parent 5ebc478727
commit 6902073984

View File

@ -32,6 +32,9 @@ To make Homebrew's completions available in `zsh`, you must get the Homebrew-man
```sh ```sh
if type brew &>/dev/null; then if type brew &>/dev/null; then
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
autoload -Uz compinit
compinit
fi fi
``` ```