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

Re: Bug#270608: zsh: dpkg completion broken



> I found the culprit:
> 
>   fignore="~:#:bk"
> 
> If I take out the '#', it works.
> 
> Still, this seems like a bug to me...

Well, "fignore" is an array, and "FIGNORE" is a scalar, so what you
probably wanted to type is either

FIGNORE="~:#:bk"

or

fignore=(\~ # bk)

though you might want to drop "fignore" altogether and use a
ignored-patterns zstyles instead.

I would guess that the failure to complete directories with the "fignore"
you mentioned has something to do with misinterpretation of "~:#:bk";
maybe the massaging of fignore to _comp_ignore could use more escaping.



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