zsh-workers
 help / color / mirror / code / Atom feed
From: Stephane Chazelas <stephane.chazelas@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Hackers' List <zsh-workers@zsh.org>
Subject: Re: Recursive globbing shorthand (a la **.c)
Date: Sat, 31 Oct 2015 09:24:14 +0000	[thread overview]
Message-ID: <20151031092414.GA5301@chaz.gmail.com> (raw)
In-Reply-To: <151030085035.ZM18998@torch.brasslantern.com>

2015-10-30 08:50:35 -0700, Bart Schaefer:
> On Oct 30,  9:30am, Peter Stephenson wrote:
> }
> } Here's a patch with documentation.
> 
> Just for the record, this is a place where I begin to agree with Kurtis's
> "all things to all people" criticism.
> 
> You'd now best be sure that setting this option isn't going to break
> completion six ways from Sunday.

It reminds me of the discussion about:

*$var*/foo

or even

*"$var"*/foo

Which do a  recursive glob when $var is empty.

I suppose with the new option, things like

*$empty* would also have to be considered.

(probably not a big issue. Note that bash -O globstar and ksh93
-o globstar are already affected by that (and yash -o
extended-glob -c 'echo *$empty*/*' like zsh)).

-- 
Stephane


  reply	other threads:[~2015-10-31  9:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20151028065702.GA8236@linux.vnet.ibm.com>
     [not found] ` <20151029105343.67b579f3@pwslap01u.europe.root.pri>
2015-10-30  9:30   ` Peter Stephenson
2015-10-30 15:50     ` Bart Schaefer
2015-10-31  9:24       ` Stephane Chazelas [this message]
2015-10-31 20:16         ` Bart Schaefer
2015-11-01 18:10           ` Peter Stephenson

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=20151031092414.GA5301@chaz.gmail.com \
    --to=stephane.chazelas@gmail.com \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-workers@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).