blob: 9deb5b44c39fd37c494426c3b8f15700f2243495 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# zshenv/01_fpath
#
# Add local functions directory to $fpath
#
# Copyright © 2010-2013 Tobias Klauser <tklauser@distanz.ch>
# Copyright © 1994–2008 martin f. krafft <madduck@madduck.net>
# 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
|