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

Re: Globbing question



On Mon, 18 Nov 2013 12:31:34 +0100
Dominik Vogt <vogt@xxxxxxxxxxxxxxxxxx> wrote:
> > If you want to avoid matching git recursively in subdirectories, too,
> > you need EXTENDED_GLOB and
> > 
> > (^git/)##**/*(.)
> 
> I guess you meant
> 
>   (^git)##**/*(.)
> 
> (without the slash in the parentheses) because otherwise it does
> not work.

Sorry, what I got wrong is you don't the ** at all because the first
part is doing the recursive search.

(^git/)##*(.)

pws



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