Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Completion in pwd before subdirecories
- X-seq: zsh-workers 19290
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Completion in pwd before subdirecories
- Date: Mon, 15 Dec 2003 19:13:13 +0000
- In-reply-to: <16058.1071508147@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <16058.1071508147@xxxxxxx>
On Dec 15, 5:09pm, Peter Stephenson wrote:
}
} Bart Schaefer 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.
}
} How?
I haven't deciphered in detail the subst-expression that's used to patch
this all up, but I'm worried that if you start with e.g. *(r) on the
command line, and then the completion function appends e.g. (#q*), and
then the file-patterns style is %p(^-/), you end up with something like
*(r)(#q*)(^-/)
and then the substitution will fail to collapse it all the way down to
*(r*^-/)
because the #q in the middle won't match the expression in _files.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author