zsh-workers
 help / color / mirror / code / Atom feed
* matcher-list doesn't work with some completers?
@ 2011-01-06 10:14 Mikael Magnusson
  2011-01-06 16:41 ` Bart Schaefer
  0 siblings, 1 reply; 5+ messages in thread
From: Mikael Magnusson @ 2011-01-06 10:14 UTC (permalink / raw)
  To: zsh workers

Hi,

mkdir 'a directory'
zsh -f
autoload -Uz compinit; compinit -D
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' +'l:|=* r:|=*'
ls dir<tab> #works
du dir<tab> #nothing
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z} l:|=* r:|=*'
ls dir<tab> #works
du dir<tab> #works

Obviously the latter style is useless in practice, but why doesn't the
first one work always? The _mkdir completer has the same issue as _du,
but _rar seems to work. I looked at them and I can't figure out what
the difference is. This is not a new issue, but I'm not sure when it
started happening. The _du in 4.3.6 works, but the _mkdir does not.
Copying the older _du doesn't seem to make any difference so it is
probably Something Else[tm].

-- 
Mikael Magnusson


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-06 19:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-06 10:14 matcher-list doesn't work with some completers? Mikael Magnusson
2011-01-06 16:41 ` Bart Schaefer
2011-01-06 17:24   ` Bart Schaefer
2011-01-06 18:42     ` Mikael Magnusson
2011-01-06 19:00       ` Mikael Magnusson

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).