From 0eeddeefbfb4f3e621085c2c8b25463d1563ef8a Mon Sep 17 00:00:00 2001 From: ivaquero Date: Sun, 25 Feb 2024 14:00:42 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=92=A1=20update=20zsh=20defaults?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- defaults.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/defaults.sh b/defaults.sh index 9e19bbe5..35230e0d 100644 --- a/defaults.sh +++ b/defaults.sh @@ -198,8 +198,14 @@ ccc() { # configuration case ${SHELL} in *zsh) + autoload -Uz edit-command-line + zle -N edit-command-line # turn case sensitivity off zstyle ':completion:*' matcher-list 'm:{a-z}={A-Z}' + # other options + zstyle ':completion:*' menu select + zstyle ":completion:*" file-sort change + zstyle ":completion:*" use-cache yes # pasting with tabs doesn't perform completion zstyle ':completion:' insert-tab pending ;;