chore(completion): add support for custom site-functions directory

This commit is contained in:
2021-08-30 22:52:31 +01:00
parent 2d6ab21a97
commit 16bd403bae

6
zshrc
View File

@@ -149,3 +149,9 @@ unsetopt correctall
if [ -f "$HOME/.zshrc.local" ]; then
source "$HOME/.zshrc.local"
fi
if [ -d "$DOTZSH/site-functions" ]; then
fpath=("$DOTZSH/site-functions" $fpath)
fi
autoload -U +X bashcompinit && bashcompinit