diff --git a/.config/zsh/include/completion b/.config/zsh/include/completion index 80ce9bd..153e38c 100644 --- a/.config/zsh/include/completion +++ b/.config/zsh/include/completion @@ -4,7 +4,7 @@ fpath=(/usr/local/share/zsh-completions $fpath) autoload -Uz compinit -if [[ "$OSTYPE" == "darwin"* && "v$(which brew)" != "v" ]]; then +if [[ "$OSTYPE" == "darwin"* && "$(which brew)" == "brew not found" ]]; then FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}" compinit -u # homebrew moment, not recommended but whatever else