docs(Shell-Completion.md): modified conditional for .zshrc to include call to compinit
This commit is contained in:
parent
5ebc478727
commit
6902073984
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user