Subject: Re: PATCH: short-circuiting glob exclusion operator
From: Mikael Magnusson <[email-masked]>
To: Peter Stephenson <[email-masked]>
Cc: zsh workers <[email-masked]>
Date: Sat, 9 Apr 2016 21:00:36 +0200
List-Id: Zsh Workers List <zsh-workers.zsh.org>

On Sat, Apr 9, 2016 at 8:22 PM, Peter Stephenson
<[email-masked]> wrote:
> On Thu, 7 Apr 2016 20:18:30 -0700
> Bart Schaefer <[email-masked]> 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