chore(config): add brew autocompletion to fpath

This commit is contained in:
2024-08-29 14:46:38 +03:00
parent ad0ba59b67
commit 240ac35aa8

View File

@@ -356,6 +356,8 @@ export HOMEBREW_NO_ENV_HINTS=true
export HOMEBREW_BUNDLE_MAS_SKIP=true
export HOMEBREW_BUNDLE_FILE="$XDG_CONFIG_HOME/homebrew/Brewfile"
x-have brew && {
# Add brew autocompletion to fpath
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
eval "$(brew shellenv)"
}