fix: Ffs mac
This commit is contained in:
parent
62940d4a4d
commit
a87694e968
1 changed files with 5 additions and 3 deletions
|
@ -4,9 +4,11 @@ fpath=(/usr/local/share/zsh-completions $fpath)
|
||||||
|
|
||||||
autoload -Uz compinit
|
autoload -Uz compinit
|
||||||
|
|
||||||
if [[ "$OSTYPE" == "darwin"* && "$(which brew)" == "brew not found" ]]; then
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||||
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
|
brew >/dev/null 2>/dev/null && {
|
||||||
compinit -u # homebrew moment, not recommended but whatever
|
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}";
|
||||||
|
compinit -u; # homebrew moment, not recommended but whatever
|
||||||
|
}
|
||||||
else
|
else
|
||||||
compinit
|
compinit
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue