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

Re: PATCH: add (-.) to many completion _files globs



Mikael Magnusson wrote:
> Directories are always completed anyway since they might contain
> wanted files, no?

By default yes. It depends on the file-patterns style. I disable it for
some contexts (mainly for certain completers like _approximate). Even in
a default setup, it isn't ideal to have directories added as a match
twice in different groups for no reason.

If you want to delve into details, the original discussion was in
December 2003 around zsh-workers/19294.

Oliver



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