Include homebrew completions in zsh

This commit is contained in:
Sami Samhuri 2020-08-07 10:30:37 -07:00
parent 0b9c6abef6
commit ad7831f86f

4
zshrc
View file

@ -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