Merge pull request #7065 from kreig303/docs-zshrc-7059-compinit

docs(Shell-Completion.md): modified conditional for .zshrc to include…
This commit is contained in:
Mike McQuaid 2020-02-22 11:33:43 +00:00 committed by GitHub
commit 3317b00520
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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