From: Peter Stephenson <pws@csr.com>
To: zsh-users@sunsite.dk (Zsh users list)
Subject: Re: backward kill
Date: Thu, 15 Nov 2001 15:21:59 +0000 [thread overview]
Message-ID: <15066.1005837719@csr.com> (raw)
In-Reply-To: "Jesper Holmberg"'s message of "Thu, 15 Nov 2001 16:05:09 +0100." <20011115160509.A1095@strindberg.maisel.enst-bretagne.fr>
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@csr.com> 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.
**********************************************************************
next prev parent reply other threads:[~2001-11-15 15:22 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-15 15:05 Jesper Holmberg
2001-11-15 15:21 ` Peter Stephenson [this message]
2001-11-15 15:34 ` Mads Martin Joergensen
2001-11-15 15:40 ` Peter Stephenson
2001-11-15 15:46 ` Jesper Holmberg
2001-11-15 17:01 ` Will Yardley
2001-11-15 18:43 ` Jesper Holmberg
-- strict thread matches above, loose matches on Subject: below --
2001-11-15 15:02 Jesper Holmberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=15066.1005837719@csr.com \
--to=pws@csr.com \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).