From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6246 invoked by alias); 27 Jan 2015 05:52:45 -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: 34409 Received: (qmail 29244 invoked from network); 27 Jan 2015 05:52:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=PYxIXZlY c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=YNv0rlydsVwA:10 a=1TL95Y26Klsr05-xTFkA:9 a=CjuIK1q_8ugA:10 a=0SDjvtzPpjIA:10 a=jg4II73CzycA:10 From: Bart Schaefer Message-id: <150126215231.ZM565@torch.brasslantern.com> Date: Mon, 26 Jan 2015 21:52:31 -0800 In-reply-to: <20150126121649.684c22cb@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: refering to 2nd from last history parameter?" (Jan 26, 12:16pm) References: <20150126121649.684c22cb@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: refering to 2nd from last history parameter? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii [>workers] On Jan 26, 12:16pm, Peter Stephenson wrote: } } We could special case the meaning here: given that ranges have to be in } order, a range starting with "$" is by definition useless. It's a bit } kludgy but this is !-history so it's hard to imagine anyone looking for } elegance. Does this break anything? I don't think it does ... even !$-0 yields "no such word in event" so assigning a meaning to it won't interfere with anything previously usable.