Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: backward kill
- X-seq: zsh-users 4472
- From: Mads Martin Joergensen <mmj@xxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: backward kill
- Date: Thu, 15 Nov 2001 16:34:40 +0100
- Cc: Zsh users list <zsh-users@xxxxxxxxxx>
- In-reply-to: <15066.1005837719@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20011115160509.A1095@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <15066.1005837719@xxxxxxx>
* Peter Stephenson <pws@xxxxxxx> [Nov 15. 2001 16:22]:
> > 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).
Cannot seem to get that working, and the manpage mentions nothing
about it?
(mmj@staudinger) ~> echo $ZSH_VERSION
4.0.4
(mmj@staudinger) ~> echo $ZSHEDIT
emacs
(mmj@staudinger) ~> cat .zshrc | grep bash
bindkey "^[^[[D" bash-backward-kill-word
And when I hit ESC left-arrow:
No such widget `bash-backward-kill-word'
--
Mads Martin Joergensen, http://mmj.dk
"Why make things difficult, when it is possible to make them cryptic
and totally illogic, with just a little bit more effort."
-- A. P. J.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author