From bf8657c23977fb3af440b731011f4f3cf515602e Mon Sep 17 00:00:00 2001 From: Ahmad Ansori Palembani Date: Thu, 11 Jul 2024 13:12:05 +0700 Subject: [PATCH] chore(zsh): Re-enable compinit --- .config/zsh/include/completion | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.config/zsh/include/completion b/.config/zsh/include/completion index 56cdff9..b2e64ba 100644 --- a/.config/zsh/include/completion +++ b/.config/zsh/include/completion @@ -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