Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Recursive globbing shorthand (a la **.c)
- X-seq: zsh-workers 37035
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "Zsh Hackers' List" <zsh-workers@xxxxxxx>
- Subject: Re: Recursive globbing shorthand (a la **.c)
- Date: Sat, 31 Oct 2015 13:16:10 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern_com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=GQ+KO5T2OZjSLr0H7Qppa9zd9/BfBbd3jWACrfM4AT0=; b=ZwDtvPwj4QhXPesleJpFca0+Q7PAxOjRfDiH/MQBwTYGRO13WmrPZDsZCC4XznLRmw dwToPMrNVKQYEJtVFAFC2rSR+Ts6GKAtkDFYowDYM9iYCqt35IITB5wNZUpCvurgveHd kKCfZnMg6bDz3rLWdwZ5bxtjqkBlIvfrQIjRp4uoaiZlbZAIqfw8EiSrqoWfYpxL6+pi kaQp4a/Rf/S63WiOV7Rob07w62SNsIGNKA9ENqSPFzv0PYnRr07cIQP26Xl2gA/2Il1h ussZO9grd+UcI6sfL0bMABuL+2dkldjhc9rzc9SxoDQ3bDuCZyayWlV4US7TiMmYM0jq 5y9w==
- In-reply-to: <20151031092414.GA5301@chaz.gmail.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>
- 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> <20151031092414.GA5301@chaz.gmail.com>
On Oct 31, 9:24am, Stephane Chazelas wrote:
}
} It reminds me of the discussion about:
}
} *$var*/foo
That and *$~var*.c inadvertently doing a follow-symlinks if var=*
Furtermore if I've got all of globstarshort globcomplete completinword
and the cursor is on the first * out of **.c, what gets completed? Or
if I DO NOT have completeinword? When using expand-or-complete-prefix?
I suppose **/ already has all of these problems, but e.g. the guts of
_path_files isn't likely to accidentally cons up that form.
} (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)).
So we need to add globstar as an alias for globstarshort in ksh and bash
emulations? Or since globstarshort is new should we just chop off the
"short" and extend it to the other emulations?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author