diff --git a/files/private_dot_config/zsh/config/05-autocomplete.zsh b/files/private_dot_config/zsh/config/05-autocomplete.zsh index d89c0f9..cb256ab 100644 --- a/files/private_dot_config/zsh/config/05-autocomplete.zsh +++ b/files/private_dot_config/zsh/config/05-autocomplete.zsh @@ -1,12 +1,3 @@ -# Source zsh-autocomplete -# https://github.com/marlonrichert/zsh-autocomplete -if [[ -e "$HOME/.cache/zsh/external/zsh-autocomplete/zsh-autocomplete.plugin.zsh" ]]; then - if is_linux; then - export skip_global_compinit=1 - fi - source "$HOME/.cache/zsh/external/zsh-autocomplete/zsh-autocomplete.plugin.zsh" || true -fi - # Source zsh-syntax-highlighting extension. # https://github.com/zsh-users/zsh-syntax-highlighting if [[ -e "$HOME/.cache/zsh/external/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" ]]; then @@ -18,3 +9,12 @@ fi if [[ -e "$HOME/.cache/zsh/external/zsh-autosuggestions/zsh-autosuggestions.zsh" ]]; then source "$HOME/.cache/zsh/external/zsh-autosuggestions/zsh-autosuggestions.zsh" || true fi + +# Source zsh-autocomplete +# https://github.com/marlonrichert/zsh-autocomplete +if [[ -e "$HOME/.cache/zsh/external/zsh-autocomplete/zsh-autocomplete.plugin.zsh" ]]; then + if is_linux; then + export skip_global_compinit=1 + fi + source "$HOME/.cache/zsh/external/zsh-autocomplete/zsh-autocomplete.plugin.zsh" || true +fi