Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: invalid completion with a custom matcher



On Mon 11 May 2026, at 19:19, Michael wrote:
> Problem depends on having a case insensitive matcher enabled for
> replicating with zsh -f, as far as I understand it is commonly used.

the white space in your patch is corrupt (it's ok on github)

anyway i still don't know how to replicate the problem. i tried:

  % zsh -f
  % cd /tmp
  % touch 'Strategy TB' 'Strategy Scenario'
  % zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}'
  % autoload -Uz compinit && compinit -D

but i get:

  % : St<TAB>          # -> 'Strategy\ '
  % : Strategy\ <TAB>  # -> 'Strategy\ ' with list
  % : Strategy\ <TAB>  # -> 'Strategy\ Scenario'

what setting am i missing?

dana




Messages sorted by: Reverse Date, Date, Thread, Author