Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: refering to 2nd from last history parameter?
- X-seq: zsh-users 19776
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- Subject: Re: refering to 2nd from last history parameter?
- Date: Fri, 23 Jan 2015 11:59:54 -0800
- Cc: zsh-user <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=DDeMKqA5aa9IV94IxlexUmKGBnGUE/DmS3Op/uxtykM=; b=fXDDgx6SzifuPuJkv3Ex6Ixu4IvJ/Yf3R/se8JFwFVll9TcMz0oi606AIjJGD3PJVb JfMPvZAKvMBAnJ9DhbX7FyoqoNM+bkgKe5DlI8Elu8IuKcsCPWiHk1qGq2+HA+94/fHC szC4zlrlKtlZyz5TxIpRKEQwpm1jvyWRc5VMANh2j2vCX8qUSZUVZyy7ZvEQ86oCkq3G Ing9vVopj2mJ0qNYoS01wOFMjtnlp10aZ8hXGziv3+kvmeG4vkrEaAFsf7PuANCcy36X 1M0p5KZN+wKKQ6das62S6G3hW+fwMwbqxic5Uaw/xrUxW7MsyQl3U2z8T9BY7Au0GvAr lObw==
- In-reply-to: <CAECNH1RyC2Q-5y3Ynk-F+cJvtRvFPWdvcpDOqXmrJB=uSJCbTQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <XnsA42A7D32D20B8davidrayninfocouk@80.91.229.13> <CAECNH1RyC2Q-5y3Ynk-F+cJvtRvFPWdvcpDOqXmrJB=uSJCbTQ@mail.gmail.com>
- Sender: 4wayned@xxxxxxxxx
On Thu, Jan 22, 2015 at 4:57 AM, Peter Stephenson <
p.w.stephenson@xxxxxxxxxxxx> wrote:
> Then the answer is that you type "\e." to get the h then "\e=" to go
> back to the "g".
An alternative to using copy-earlier-word is to use a numeric arg to get
earlier words with insert-last-word. e.g. \e2\e. will give you the
2nd-to-last word ("g") directly, so you can count from right to left.
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author