summaryrefslogtreecommitdiff
path: root/.zsh/zshenv/01_fpath
diff options
context:
space:
mode:
Diffstat (limited to '.zsh/zshenv/01_fpath')
-rw-r--r--.zsh/zshenv/01_fpath4
1 files changed, 3 insertions, 1 deletions
diff --git a/.zsh/zshenv/01_fpath b/.zsh/zshenv/01_fpath
index 10275bc..9deb5b4 100644
--- a/.zsh/zshenv/01_fpath
+++ b/.zsh/zshenv/01_fpath
@@ -9,8 +9,10 @@
# Source repository: git://git.distanz.ch/dotfiles/zsh.git
fpath=($ZDOTDIR/func $fpath)
-
# add custom completions
fpath=($ZDOTDIR/completion $fpath)
+# add completitions for commands installed using homebrew
+_homebrew_completions=/opt/homebrew/share/zsh/site-functions
+[ -d $_homebrew_completions ] && fpath=($fpath $_homebrew_completions)
# vim:ft=zsh