Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: refering to 2nd from last history parameter?



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