On 1/26/22 17:06, Eric Cook wrote:
> + pats=( "${${glob:-*}//:/\\:}:globbed-files:globbed\\ files *(-/):directories:directories" "*:all-files:other\\ files" ) When -g /isn't/ used ${glob:-*} expands to * for that tag label, changing the default description from `file' to `globbed files'. which is something i don't think that you mean. unless you invoke _next_tags, you ignore globbed-files and directories in tag-order or use -g nonmatchingpattern you won't see the all-files tag.
something like: " *(-/):directories:directory ${${glob:-*}//:/\\:}(#q^-/):globbed-files${glob:+:globbed\\ file\\ (${${glob}//:/\\:})}" '*:all-files' would get what you intended