Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Recursive globbing shorthand (a la **.c)
- X-seq: zsh-workers 37030
- From: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Recursive globbing shorthand (a la **.c)
- Date: Sat, 31 Oct 2015 09:24:14 +0000
- Cc: Zsh Hackers' List <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=cxfYu9FLycy9nSRmWXwTLbhIQ9H88NHxYyDg1MQT5Ww=; b=PEsUn2MPY2CQhWjmsr9icngJfvn7i36e5bf1dgZw9IXw67vzS286qqdgHBTNbAwHmz 1RddGKcghaTYWcXdCm6tRj+U4zmx4je4Z3SSaJvSzB8wiVf3k4B1lo/wfHXMDB8LsbjV 1QonddPJFqMi8an1U2/NsNvS73LtugcO9K+GoxrSKz7CPTlpN9y/lF8kI2PFOKcaGHVs C11RLmDiF6UhcWmh6qhQZy0j22FUrxcqPJOx7t3/hiYkxIJSdJRDPnQsi0GaladPSugg ayVqoTSCvFiaSOnWsvfj2/M/qcRwVbP4IKQ5EbHdVb3MlDyodePaq2cAkeFoCrwKVAhn aJZA==
- In-reply-to: <151030085035.ZM18998@torch.brasslantern.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, Zsh Hackers' List <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20151028065702.GA8236@linux.vnet.ibm.com> <20151029105343.67b579f3@pwslap01u.europe.root.pri> <20151030093004.440c0034@pwslap01u.europe.root.pri> <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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author