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

Re: [PATCH] compdump: improve performance



On Wed, Jul 1, 2026 at 10:37 PM dana <dana@xxxxxxx> wrote:
>
> can you explain that further? i don't understand when/why you'd need to
> treat them as glob patterns for (N) to work

IIRC (which as usual IMNRC) there was a time when merely appending
glob flags to the end of a fixed string would fail to treat them as
glob flags and instead produce an error; flags could only be appended
to something that was already glob-able.

The other possibility is that it's attempting to account for use of
nameddir/userdir tilde-shortcuts in the elements, which it probably
shouldn't.

As an aside to this, however, compdump and compaudit should account
for (lack of) BARE_GLOB_QUAL when run standalone from compinit.




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