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