From f333bafa7eb8859880d62ec20bb744959d165cec Mon Sep 17 00:00:00 2001 From: Bradley Shellnut Date: Fri, 24 Jan 2020 18:18:28 -0800 Subject: [PATCH] Adding homebrew completions to zsh --- .zshrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.zshrc b/.zshrc index e5a7669..7bbe924 100644 --- a/.zshrc +++ b/.zshrc @@ -18,6 +18,10 @@ plugins=( source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +if type brew &>/dev/null; then + FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH +fi + source $ZSH/oh-my-zsh.sh # Useful aliases