Skip to content

Commit

Permalink
Configuring brew completions in zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
xorcare committed Oct 30, 2023
1 parent 52054fa commit e436b9b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions home/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,13 @@ unset file

# Initialize starship.rs prompt.
[ -x "$(command -v 'starship')" ] && eval "$(starship init zsh)"

# Configuring brew completions in zsh
# See https://docs.brew.sh/Shell-Completion#configuring-completions-in-zsh
if type brew &>/dev/null
then
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"

autoload -Uz compinit
compinit
fi

0 comments on commit e436b9b

Please sign in to comment.