From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21836 invoked from network); 12 Dec 2003 15:12:52 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 12 Dec 2003 15:12:52 -0000 Received: (qmail 12097 invoked by alias); 12 Dec 2003 15:12:40 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6868 Received: (qmail 12063 invoked from network); 12 Dec 2003 15:12:39 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 12 Dec 2003 15:12:39 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [200.176.3.19] by sunsite.dk (MessageWall 1.0.8) with SMTP; 12 Dec 2003 15:12:38 -0000 Received: from canela.terra.com.br (canela.terra.com.br [200.176.3.79]) by itaqui.terra.com.br (Postfix) with ESMTP id 3E847810684 for ; Fri, 12 Dec 2003 13:12:37 -0200 (BRST) Received: from 192.168.1.3 (200-180-166-052.paemt7003.dsl.brasiltelecom.net.br [200.180.166.52]) (authenticated user hisham@terra.com.br) by canela.terra.com.br (Postfix) with ESMTP id E3C8E1480B4 for ; Fri, 12 Dec 2003 13:12:36 -0200 (BRST) From: Hisham Muhammad To: zsh-users@sunsite.dk Subject: Re: CLI Tricks Date: Fri, 12 Dec 2003 13:11:56 -0200 User-Agent: KMail/1.5.4 References: <20031212114809.GL2710@gmx.de> In-Reply-To: <20031212114809.GL2710@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200312121311.56353.hisham.lists@terra.com.br> On Friday 12 December 2003 09:48, you wrote: > On Fri, Dec 12, 2003 at 11:32:39AM +0000, zzapper wrote: > > B) > > > > I've read somewhere that I can repeat the previous keyword when typing > > a command > > > > eg > > > > > cp verylongfilename (control metachar) > > > > and you get > > > > > cp verylongfilename verylongfilename > > You want the copy-prev-word function which is by default bound to > Esc Ctrl-_ How interesting! Didn't know about that. I played a bit with it and was intrigued by its behavior with filenames with spaces, but then 'man zshzle' told me there's a copy-prev-shell-word which does the same but works with spaces. The manpage, however, says both are bound to the same key by default (a documentation bug?). -- Hisham Muhammad "...and this is the first step."