Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Can I refer to last but one parameter?
- X-seq: zsh-users 11227
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: Can I refer to last but one parameter?
- Date: Tue, 27 Feb 2007 08:22:02 -0800
- In-reply-to: <Xns98E48444EEDA0zzappergmailcom@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns98E47CDE77ADBzzappergmailcom@xxxxxxxxxxx> <20070227124408.4414e740.pws@xxxxxxx> <Xns98E48444EEDA0zzappergmailcom@xxxxxxxxxxx>
On Feb 27, 1:00pm, zzapper wrote:
}
} the answer is no then?
You can't do it with history references using !, but you can do it with
the insert-last-word ZLE function. Escape 2 escape underscore gets you
the second last word.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author