From 7d28e99e3e3365ff44376db6a6f410e115ebba23 Mon Sep 17 00:00:00 2001 From: Aroy-Art Date: Sat, 11 Jan 2025 20:48:33 +0100 Subject: [PATCH] ZSH Config: set completion options & speed up completions --- Configs/ZSHShell/.zshrc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Configs/ZSHShell/.zshrc b/Configs/ZSHShell/.zshrc index 8761cad..2694a56 100644 --- a/Configs/ZSHShell/.zshrc +++ b/Configs/ZSHShell/.zshrc @@ -13,6 +13,13 @@ setopt histignorealldups # If a new comma setopt autocd # if only directory path is entered, cd there. setopt inc_append_history # save commands are added to the history immediately, otherwise only when shell exits. +zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' # Case insensitive tab completion +zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}" # Colored completion (different colors for dirs/files/etc) +zstyle ':completion:*' rehash true # automatically find new executables in path +# Speed up completions +zstyle ':completion:*' accept-exact '*(N)' +zstyle ':completion:*' use-cache on +zstyle ':completion:*' cache-path ~/.zsh/cache ####################################################################################################################################################