chore(zsh): Re-enable compinit

This commit is contained in:
Ahmad Ansori Palembani 2024-07-11 13:12:05 +07:00
parent 33e4513d91
commit bf8657c239
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -4,14 +4,14 @@ fpath=(/usr/local/share/zsh-completions $fpath)
autoload -Uz compinit
if [[ "$OSTYPE" == "darwin"* ]]; then
brew >/dev/null 2>/dev/null && {
FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}";
compinit -u; # homebrew moment, not recommended but whatever
}
else
# if [[ "$OSTYPE" == "darwin"* ]]; then
# brew >/dev/null 2>/dev/null && {
# FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}";
# compinit -u; # homebrew moment, not recommended but whatever
# }
# else
compinit
fi
# fi
zmodload -i zsh/complist
zstyle ':completion:*' menu select