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

problem with zstyle file-patterns



I'm having an issue with file-patterns on zstyle:

% zstyle ':completion:*:*:yes:files' file-patterns '*XXX.*'

(using "yes" as just an example)

Now when I do "yes XXX", I get:

% yes XXX<tab>
XXX-YYY.4 XXX.3

Why is it giving me XXX-YYY.4 as an option when it doesn't match the file-patterns, in that it doesn't have a dot after the XXX?

I've also tried 'XXX.*'and 'XXX\.*' and get the same results.

This is with zsh version 4.3.17...

TIA,
John



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