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

Re: Getting back a command after hitting CTRL-C



On Tue, Jun 17, 2008 at 14:12, Mikael Magnusson <mikachu@xxxxxxxxx> wrote:


> Bind kill-whole-line to some key and press that instead of ctrl-c, then
> you can get it back with a yank. If you have a hard time not pressing ctrl-c,
> try:
> trap true SIGINT

5 minutes with the trap show I can't cope with that enabled :p
Unfortunately, binding kill-whole-line to ^c does not work, so that is not
an option either.

Thanks though!
Richard



Messages sorted by: Reverse Date, Date, Thread, Author