From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7636 invoked from network); 11 Jul 2000 22:05:57 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 11 Jul 2000 22:05:57 -0000 Received: (qmail 28173 invoked by alias); 11 Jul 2000 22:05:31 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 3267 Received: (qmail 28166 invoked from network); 11 Jul 2000 22:05:30 -0000 X-Authentication-Warning: vin.ens-lyon.fr: vlefevre set sender to vincent@vinc17.org using -f Date: Wed, 12 Jul 2000 00:05:09 +0200 From: Vincent Lefevre To: zsh-users@sunsite.auc.dk Subject: Re: ZLE Widget: Insert last word (except &) Message-ID: <20000712000509.A124@vin.ens-lyon.fr> Mail-Followup-To: zsh-users@sunsite.auc.dk References: <20000711140506.5143gmx1@mx14.gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.4i In-Reply-To: ; from langec@gmx.de on Tue, Jul 11, 2000 at 07:29:55PM +0200 X-Mailer-Info: http://www.vinc17.org/mutt_eng.html Content-Transfer-Encoding: 8bit On Tue, Jul 11, 2000 at 19:29:55 +0200, Christoph Lange wrote: > I found it annoying that the widget insert-last-word inserts `&' if the > previous command was a background job. I'd rather like the last word > *before* `&' to be inserted. Me too! > So I wrote a custom widget: [snip] IMHO, this behavior should be in zsh as standard. -- Vincent Lefèvre - Web: - 100% validated HTML - Acorn Risc PC, Yellow Pig 17, Championnat International des Jeux Mathématiques et Logiques, TETRHEX, etc. Computer science / computer arithmetic / Arénaire project at LIP, ENS-Lyon