Subject: Re: [BUG] quoting within bracket patterns has no effect
From: "Jun T." <[email-masked]>
To: [email-masked]
Date: Wed, 20 Jan 2016 00:57:30 +0900
List-Id: Zsh Workers List <zsh-workers.zsh.org>

The patch causes the following error:

% /usr/local/bin/zsh -f
zsh% autoload -U compinit
zsh% compinit
compaudit:151: unknown file attribute: -

It seems the error is actually from line 153 of compaudit:

_i_wdirs=( $_i_wdirs ${^fpath}.zwc^([^_]*|*~)(N-^${_i_owners}) )

Simpler example is

zsh% echo a[b](-/)
zsh: unknown file attribute: -

In glob.c, switch statement from line 1298,
*s is not '-' but Dash, and not handled by
case '-':
at line 1316.