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}" # 工具