Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: refering to 2nd from last history parameter?
- X-seq: zsh-workers 34409
 
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxx
 
- Subject: Re: refering to 2nd from last history parameter?
 
- Date: Mon, 26 Jan 2015 21:52:31 -0800
 
- In-reply-to: <20150126121649.684c22cb@pwslap01u.europe.root.pri>
 
- 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: <XnsA42A7D32D20B8davidrayninfocouk@80.91.229.13>	<CAECNH1RyC2Q-5y3Ynk-F+cJvtRvFPWdvcpDOqXmrJB=uSJCbTQ@mail.gmail.com>	<XnsA42E7AF6C5E7davidrayninfocouk@80.91.229.13>	<20150126121649.684c22cb@pwslap01u.europe.root.pri>
 
[>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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author