Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion in pwd before subdirecories
- X-seq: zsh-workers 19305
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Completion in pwd before subdirecories
- Date: Wed, 17 Dec 2003 16:57:16 +0100
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <1031215170258.ZM12804@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20031213154651.GR18859@xxxxxxxxxxxxxxxxxxxx> <1031213191918.ZM5325@xxxxxxxxxxxxxxxxxxxxxxx> <20031213233905.GW18859@xxxxxxxxxxxxxxxxxxxx> <3213.1071488991@xxxxxxxxxxx> <1031215170258.ZM12804@xxxxxxxxxxxxxxxxxxxxxxx>
Bart wrote:
> There's code in _files to attempt to merge together any trailing stuff
> that looks like glob qualifiers, because _files predates the #q flag.
> In fact, I'm suspicious that adding #q might actually break things.
Where?
I can't find it anywhere in _files and if it is in _path_files then it
doesn't work. Try: _foo() { _files -g '*.gz(.)(.)' }
So either we need to add #q when using glob qualifiers or _files should
attempt to merge trailing glob qualifiers. I favour the latter.
So _files needs to match a trailing glob qualifier in the parameter to
-g and stick #q in. Can a glob qualifier contain quoted parenthesis?
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author