From abcae065f05cd7e08780fc71817aff735ad0ec88 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sat, 5 Dec 2020 09:42:40 +0000 Subject: [PATCH] Autoload brew shell completions --- zshrc.zsh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zshrc.zsh b/zshrc.zsh index 88b620e..f9cedaf 100644 --- a/zshrc.zsh +++ b/zshrc.zsh @@ -8,6 +8,9 @@ SAVEHIST=10000 bindkey -v # ZSH builtin autoload +if type brew &>/dev/null; then + FPATH=$(brew --prefix)/share/zsh/site-functions:$FPATH +fi autoload -Uz compinit promptinit run-help compinit promptinit