Problem
I’ve recently made some changes to my terminal development tools. Everything has been working as expected, except for case-insensitive match completion, which before it would match completions case-insensitive and from any direction.
Setup
- OS: Pop!_OS 22.04 LTS
- Shell: zsh
- Terminal: Wezterm
- Prompt: Starship
- Plugin Manager: zinit
Code
Sample of .zshrc
config file related to completions.
# zsh plugins
zinit light zsh-users/zsh-syntax-highlighting
zinit light zsh-users/zsh-autosuggestions
zinit light zsh-users/zsh-completions
zinit light Aloxaf/fzf-tab
# Load zsh-completions
autoload -U compinit && compinit
# Completion styling
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
autoload -Uz compinit && compinit
setopt MENU_COMPLETE
zstyle ':completion:*' list-colors "${(s.:.)LS_COLORS}"
zstyle ':completion:*' meno no
I’ve seen some other issues related to this and went through zsh documentation but still didn’t fix it… If anyone has some hint there’s any mistake in the config file or anything else, i would be grateful. ????
Lucas NG is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.