Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Globbing question
- X-seq: zsh-users 18152
- From: Eike von Seggern <eikevons@xxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Globbing question
- Date: Tue, 19 Nov 2013 07:17:13 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s1024; t=1384841834; bh=N0rggeZHcr0N3vKtlvoXYXvCta44BGHt5R8n6xAIEVQ=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=hXLOReSg+eGSikopsTIk5Cy9KlvBehMyzxhYTi4Q1bdyOmXczqES5qPe3RgL/MvHnWlfweprPf3ypBpe8+A8It3lDwbFqIJZqL3G8q7gMQpLtYvTGa7vXk7RqprBCtYVUBLHIu/J+kmX3bqoEsEg9q6RioQ5cZeMZ64nz3TbDWk=
- In-reply-to: <XnsA27D1DCF41ABdavidrayninfocouk@80.91.229.13>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20131118104543.GA15404@linux.vnet.ibm.com> <20131118110014.504fd024@pwslap01u.europe.root.pri> <XnsA27D1DCF41ABdavidrayninfocouk@80.91.229.13>
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