Skip to content

Commit

Permalink
Add homebrew completition
Browse files Browse the repository at this point in the history
  • Loading branch information
KELiON committed Apr 17, 2022
1 parent a212944 commit 10b694a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions zsh/zshrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,16 @@ then
source ~/.localrc
fi

# Homebrew completition
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"

autoload -Uz compinit
compinit
fi


# initialize autocomplete here, otherwise functions won't be loaded
autoload -U compinit
compinit
Expand Down

0 comments on commit 10b694a

Please sign in to comment.