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

Re: Globbing question



On Tue, Nov 19, 2013 at 00:10 +0000, zzapper wrote:
> 
>> If you want to avoid matching git recursively in subdirectories, too,
>> you need EXTENDED_GLOB and
>> 
>> (^git/)##**/*(.)
>> 
> How would you specify a second directory to ignore?

This should work (using Peter's ecent proposal).

(^(git|OTHER)/)##*(.)

Best
Eike



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