From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24671 invoked by alias); 23 Jan 2015 20:00:22 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19776 Received: (qmail 9410 invoked from network); 23 Jan 2015 20:00:19 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 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== X-Received: by 10.236.19.100 with SMTP id m64mr4034763yhm.11.1422043214759; Fri, 23 Jan 2015 12:00:14 -0800 (PST) MIME-Version: 1.0 Sender: 4wayned@gmail.com In-Reply-To: References: From: Wayne Davison Date: Fri, 23 Jan 2015 11:59:54 -0800 X-Google-Sender-Auth: c764aEuktEazhwjAvKutPdou290 Message-ID: Subject: Re: refering to 2nd from last history parameter? To: Peter Stephenson Cc: zsh-user Content-Type: multipart/alternative; boundary=e89a8ff1cd34abcbe8050d573cb2 --e89a8ff1cd34abcbe8050d573cb2 Content-Type: text/plain; charset=UTF-8 On Thu, Jan 22, 2015 at 4:57 AM, Peter Stephenson < p.w.stephenson@ntlworld.com> 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.. --e89a8ff1cd34abcbe8050d573cb2--