chore(zsh): Re-enable compinit
This commit is contained in:
parent
33e4513d91
commit
bf8657c239
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue