# zshenv/01_fpath # # Add local functions directory to $fpath # # Copyright © 2010-2013 Tobias Klauser # Copyright © 1994–2008 martin f. krafft # Released under the terms of the Artistic Licence 2.0 # # 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