From 34e71deed0b394359991a50e2bfc9d4f251767f2 Mon Sep 17 00:00:00 2001 From: imbytecat Date: Thu, 9 Apr 2026 11:10:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(zsh):=20=E4=BC=98=E5=8C=96=E8=A1=A5?= =?UTF-8?q?=E5=85=A8=E5=8C=B9=E9=85=8D=E4=B8=8E=20eza=20=E5=88=AB=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/.zshrc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/home/.zshrc b/home/.zshrc index e8b3c38..ed36929 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -21,6 +21,9 @@ else compinit -C fi +# 保留大小写敏感优先,找不到时再回退到大小写不敏感补全 +zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' + # ── 外部插件 ── source /usr/share/zsh/plugins/fzf-tab-git/fzf-tab.plugin.zsh source /usr/share/zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh @@ -60,8 +63,9 @@ alias ...="cd ../.." # 文件列表(公共参数提取,DRY) _EZA_BASE=(--icons --group-directories-first --git) alias ls="eza ${_EZA_BASE}" -alias ll="eza -la ${_EZA_BASE}" -alias la="eza -a ${_EZA_BASE}" +alias l="eza -la ${_EZA_BASE}" +alias ll="eza -l ${_EZA_BASE}" +alias la="eza -lA ${_EZA_BASE}" alias lt="eza --tree --level=2 ${_EZA_BASE}" # 工具