From 006d5d7e5de937a77b26e37f3c14f16ad773c4f4 Mon Sep 17 00:00:00 2001 From: oddlama Date: Sun, 14 Sep 2025 00:03:04 +0200 Subject: [PATCH] fix: disable zstyle matcher-list which caused slow tab completion in /nix/store/ --- users/config/shell/zsh/zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/users/config/shell/zsh/zshrc b/users/config/shell/zsh/zshrc index ad17312..a43359b 100644 --- a/users/config/shell/zsh/zshrc +++ b/users/config/shell/zsh/zshrc @@ -227,7 +227,9 @@ zstyle ':completion:*' verbose true # provide .. as a completion zstyle ':completion:*' special-dirs .. # match uppercase from lowercase -zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' +# (disabled because very slow, completing even subdirectories of large +# directories takes multiple seconds e.g. /nix/store/whatever/bin/) +#zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' # --------------------------------------------------------------------------------