From ad7831f86f365d198bb84399381f5aee02f28d9d Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 7 Aug 2020 10:30:37 -0700 Subject: [PATCH] Include homebrew completions in zsh --- zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/zshrc b/zshrc index bee7c98..3626071 100755 --- a/zshrc +++ b/zshrc @@ -291,6 +291,10 @@ bindkey -e # emacs style key bindings # 10. Completion # ============= +if type brew &>/dev/null; then + FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH +fi + autoload -Uz compinit # Sharing Homebrew in /usr/local with multiple users on the same machine means