From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11384 invoked from network); 15 Nov 2001 15:22:56 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 15 Nov 2001 15:22:56 -0000 Received: (qmail 12085 invoked by alias); 15 Nov 2001 15:22:28 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 4471 Received: (qmail 12017 invoked from network); 15 Nov 2001 15:22:26 -0000 To: zsh-users@sunsite.dk (Zsh users list) Subject: Re: backward kill In-reply-to: "Jesper Holmberg"'s message of "Thu, 15 Nov 2001 16:05:09 +0100." <20011115160509.A1095@strindberg.maisel.enst-bretagne.fr> Date: Thu, 15 Nov 2001 15:21:59 +0000 Message-ID: <15066.1005837719@csr.com> From: Peter Stephenson Jesper Holmberg wrote: > Hi all, > > I am using the emacs key bindings. If I've written the following: > > /path/to/some/file > > with the prompt at the end, and I press alt-backspace, the whole path is > wiped out. I would like it to just remove backwards to the last (first > from the end) slash. How could I accomplish this? Use the bash-backward-kill-word widget, supplied with 4.0 and 4.1. (The other bash-* variants are only supplied with 4.1). -- Peter Stephenson Software Engineer CSR Ltd., Science Park, Milton Road, Cambridge, CB4 0WH, UK Tel: +44 (0)1223 392070 ********************************************************************** The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. **********************************************************************