fix: Mac moment

This commit is contained in:
Ahmad Ansori Palembani 2024-05-23 09:54:55 +07:00
parent bc16666a25
commit 62940d4a4d
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -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