zsh-users
 help / color / mirror / code / Atom feed
From: Eike von Seggern <eikevons@yahoo.de>
To: zsh-users@zsh.org
Subject: Re: Globbing question
Date: Tue, 19 Nov 2013 07:17:13 +0100	[thread overview]
Message-ID: <20131119061713.GA25183@marlov> (raw)
In-Reply-To: <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


  reply	other threads:[~2013-11-19  6:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-18 10:45 Dominik Vogt
2013-11-18 11:00 ` Peter Stephenson
2013-11-18 11:31   ` Dominik Vogt
2013-11-18 12:10     ` Peter Stephenson
2013-11-19  0:10   ` zzapper
2013-11-19  6:17     ` Eike von Seggern [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-16  3:08 lists
2004-09-16 14:30 ` Peter Stephenson
2004-09-16 15:20   ` Oliver Kiddle
2004-09-17  0:51     ` lists
2004-09-17 10:16       ` Oliver Kiddle
2004-09-17  9:45     ` Peter Stephenson
2004-09-17 10:31       ` Oliver Kiddle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131119061713.GA25183@marlov \
    --to=eikevons@yahoo.de \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).