From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15587 invoked by alias); 31 Oct 2015 20:16:18 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 37035 Received: (qmail 16792 invoked from network); 31 Oct 2015 20:16:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version:content-type; bh=GQ+KO5T2OZjSLr0H7Qppa9zd9/BfBbd3jWACrfM4AT0=; b=cQ7nof4FdUHj47DS/wDpVAKGapEwDCbC6s6cZO0SX0lhh+inH+eiF5+4fHFfrZdNSR cMZTN3rBLRdHPUh3uTsGleNJp2de0KjC0umFWMmCh66nw62FGvp6BEOyCF2CMu9xl8BM zpSSo1WBWOm+FaS5aiWaN7x0JTETzXf1TCUjstvni+uX2BC4D7LGwINe6EZIQliQAXe3 4XQfE9SRqE8ExoMKH3wVV1aq5lPJDpZIxiyIGgIQvsbu5P4WcDzZYB5SOxzeeYKupzyD dCiPxiREM3i4bA0/KGa+hNU8QNdrayVVW13iM1aZkq/55l3+IR1qTWFDsLyO4uVyFO8a rrWA== X-Gm-Message-State: ALoCoQnGY64cymfKmfjc3mhTd6982NxEL5u79v1mRDrcOzeEkMPapAxz1as9OXjXrwDuzjtaODqq X-Received: by 10.182.66.138 with SMTP id f10mr10132775obt.43.1446322573486; Sat, 31 Oct 2015 13:16:13 -0700 (PDT) From: Bart Schaefer Message-Id: <151031131610.ZM21483@torch.brasslantern.com> Date: Sat, 31 Oct 2015 13:16:10 -0700 In-Reply-To: <20151031092414.GA5301@chaz.gmail.com> Comments: In reply to Stephane Chazelas "Re: Recursive globbing shorthand (a la **.c)" (Oct 31, 9:24am) 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> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: "Zsh Hackers' List" Subject: Re: Recursive globbing shorthand (a la **.c) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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?