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

Re: [BUG] quoting within bracket patterns has no effect



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.



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