Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: short-circuiting glob exclusion operator
On Sat, Apr 9, 2016 at 8:22 PM, Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
> On Thu, 7 Apr 2016 20:18:30 -0700
> Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>> On Apr 7, 9:10pm, Peter Stephenson wrote:
>> }
>> } It looks like it has to be Y- (or something else)
>>
>> I considered suggesting (Y/) for "short-circuit directories".
>
> That might be a good idea.
The only argument against this syntax (and I'm not saying it's a
strong argument) is that you have to choose between being able to
shortcircuit a subtree, or excluding a particular match that happens
to be a directory (while still including children of that directory).
Unless like before this only applies to the final ~ pattern in the,
er, pattern?
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author