Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

ZLE_LINE_ABORTED: how to restore the last non-blank aborted line?



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