Include homebrew completions in zsh
This commit is contained in:
parent
0b9c6abef6
commit
ad7831f86f
1 changed files with 4 additions and 0 deletions
4
zshrc
4
zshrc
|
|
@ -291,6 +291,10 @@ bindkey -e # emacs style key bindings
|
||||||
# 10. Completion
|
# 10. Completion
|
||||||
# =============
|
# =============
|
||||||
|
|
||||||
|
if type brew &>/dev/null; then
|
||||||
|
FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH
|
||||||
|
fi
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
|
|
||||||
# Sharing Homebrew in /usr/local with multiple users on the same machine means
|
# Sharing Homebrew in /usr/local with multiple users on the same machine means
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue