mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 12:26:39 +00:00
fix(zsh/completion): ensure brew and brew installed shell completion works
This commit is contained in:
4
zshrc
4
zshrc
@@ -66,6 +66,10 @@ zstyle ':completion:*:make:*' tag-order targets
|
||||
|
||||
if [ -d "$ZSH_COMPLETIONS" ]; then fpath=("$ZSH_COMPLETIONS" $fpath); fi
|
||||
if [ -d "$DOTZSH_SITEFUNS" ]; then fpath=("$DOTZSH_SITEFUNS" $fpath); fi
|
||||
if [ -d "$BREW_SITEFUNS" ]; then fpath=("$BREW_SITEFUNS" $fpath); fi
|
||||
|
||||
autoload -Uz compinit
|
||||
compinit
|
||||
|
||||
# setup-completions is a helper function to setup completions for a given
|
||||
# command. It takes the command name, the source of the completion, and the
|
||||
|
||||
Reference in New Issue
Block a user