From 529764d15e8f211866e544e1a4dbf4c1adbb2e35 Mon Sep 17 00:00:00 2001 From: Jonas H Date: Thu, 19 Mar 2026 08:01:27 +0100 Subject: [PATCH] zsh autocomplete list --- zshrc/.zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zshrc/.zshrc b/zshrc/.zshrc index 2144bc5..80121b2 100644 --- a/zshrc/.zshrc +++ b/zshrc/.zshrc @@ -14,6 +14,14 @@ setopt HIST_IGNORE_SPACE # Don't save commands starting with space setopt INC_APPEND_HISTORY # Write to history immediately, not at shell exit setopt SHARE_HISTORY # Share history between sessions +# Completion +autoload -U compinit && compinit +zmodload zsh/complist + +zstyle ':completion:*' menu select # show menu, highlight selection +zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} # file-type colors (dirs, executables, etc.) +zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # case-insensitive matching + # Plugins source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.plugin.zsh source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.plugin.zsh