From dd358c72b3338800ad48e2df647ef18a6e3511b6 Mon Sep 17 00:00:00 2001 From: Chris Lasher Date: Tue, 18 Jun 2024 21:14:37 -0400 Subject: [PATCH] Ensure brew completions in fpath. --- private_dot_config/zsh/dot_zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/private_dot_config/zsh/dot_zshrc b/private_dot_config/zsh/dot_zshrc index 52c8fdb..0988452 100644 --- a/private_dot_config/zsh/dot_zshrc +++ b/private_dot_config/zsh/dot_zshrc @@ -185,6 +185,9 @@ typeset -aU path # Load autocompletions +if [[ -v HOMEBREW_PREFIX ]]; then + zinit fpath "$HOMEBREW_PREFIX/share/zsh/site-functions" +fi source "$XDG_CONFIG_HOME/zsh/completion.zsh" export HISTFILE="$XDG_DATA_HOME/zsh/history"