Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: backward kill
- X-seq: zsh-users 4471
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx (Zsh users list)
- Subject: Re: backward kill
- Date: Thu, 15 Nov 2001 15:21:59 +0000
- In-reply-to: "Jesper Holmberg"'s message of "Thu, 15 Nov 2001 16:05:09 +0100." <20011115160509.A1095@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
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 <pws@xxxxxxx> 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.
**********************************************************************
Messages sorted by:
Reverse Date,
Date,
Thread,
Author