From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6762 invoked from network); 17 Apr 2005 13:08:02 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Apr 2005 13:08:02 -0000 Received: (qmail 25611 invoked from network); 17 Apr 2005 13:07:55 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Apr 2005 13:07:55 -0000 Received: (qmail 5315 invoked by alias); 17 Apr 2005 13:07:48 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8684 Received: (qmail 5300 invoked from network); 17 Apr 2005 13:07:48 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 17 Apr 2005 13:07:48 -0000 Received: (qmail 24560 invoked from network); 17 Apr 2005 13:07:48 -0000 Received: from blackbird.world-net.net (204.57.72.6) by a.mx.sunsite.dk with SMTP; 17 Apr 2005 13:07:44 -0000 Received: from aspen (dsl2-061.guam.netpci.com [202.128.83.61]) (authenticated bits=0) by blackbird.world-net.net (8.12.11/8.12.8) with ESMTP id j3HD7HCp001046; Sun, 17 Apr 2005 08:07:19 -0500 (CDT) (envelope-from teratorn@world-net.net) To: "Saket Sathe" , zsh-users@sunsite.dk Subject: Re: Substitution References: <42625E80.4020607@cc.iitb.ac.in> Message-ID: Date: Sun, 17 Apr 2005 23:07:24 +1000 From: "Eric Mangold" Content-Type: text/plain; format=flowed; delsp=yes; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <42625E80.4020607@cc.iitb.ac.in> User-Agent: Opera M2/7.54 (Linux, build 955) X-Scanned-By: MIMEDefang 2.48 on 204.57.72.6 X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Sun, 17 Apr 2005 18:32:56 +0530, Saket Sathe wrote: > Hi, > Suppose I've typed these commands: > > # mv somefile1 /home/saket/stuff/books/ > # acroread somefile.pdf > # mv somefile2 /home/saket/stuff/books/ > > How can I substitute the '/home/saket/stuff/books/' of the first command > into the last command ? > Currently I just retype it again :( I would push M-. twice. Assuming you have emacs bindings set as in "bindkey -e" -Eric