Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to kill string but leave it in history?
- X-seq: zsh-users 609
- From: Peter Stephenson <pws@xxxxxx>
- To: Zsh users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: How to kill string but leave it in history?
- Date: Thu, 16 Jan 1997 13:15:56 +0100
- In-reply-to: "Andrej Borsenkow"'s message of "Thu, 16 Jan 1997 13:59:45 MET." <Pine.SV4.3.95.970116135536.21461I-100000@xxxxxxxxxxxxxxxxx>
Andrej Borsenkow wrote:
> So - is there any way to cancel current command line but leave it in
> history?
how about
bindkey -s "^X^H" "^['^A print -s ^M"
works best with histignorespace set.
--
Peter Stephenson <pws@xxxxxx> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77413
Deutsches Elektronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author