Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
ZLE_LINE_ABORTED: how to restore the last non-blank aborted line?
- X-seq: zsh-users 21980
- From: Hong Xu <hong@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: ZLE_LINE_ABORTED: how to restore the last non-blank aborted line?
- Date: Tue, 27 Sep 2016 21:11:20 -0700
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hi all,
While ZLE_LINE_ABORTED is useful for preserving the last aborted line,
but I think the real interest is the last aborted non-blank line --
ZLE_LINE_ABORTED would turn empty if ^C is pressed on an empty line
disregarding what it was. This is annoying since sometimes auto
completion stuck and more than one ^C is used to cancel that.
Is there any way to preserve it in this case in zsh? Thanks!
Hong
Attachment:
signature.asc
Description: OpenPGP digital signature
Messages sorted by:
Reverse Date,
Date,
Thread,
Author