Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Getting back a command after hitting CTRL-C
- X-seq: zsh-users 12961
- From: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- To: "Mikael Magnusson" <mikachu@xxxxxxxxx>
- Subject: Re: Getting back a command after hitting CTRL-C
- Date: Tue, 17 Jun 2008 14:27:23 +0200
- Cc: "Zsh Users" <zsh-users@xxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=GgHSkU1ECU4dqmC0Mg0j/rP28i/2mscrAJzOrnwHp/I=; b=dVzV/yYQucDYBFwXT3duguTtIEY2xh1ujZlw3ndpgKMfdxu8U3NOvd0/eyDAKaI7kL HdtoMEsaqX2J6okGw/ub6rbMStPHgLf4Y9NTOfn4m8RQuIRgyJOgonHsOubdI0ax+f0x xrI9SRBxylAo2Qo/9pNaknjMIx5ghugONRB58=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=uLF3YscgetTzvSq8VuDNoY6Igk4BZ74QT0XNw4R8l3hkHZ9OJM1SJ9Lsu54lQS6znZ RSehDd6hnqLzlZMa9sVE/dn1zrxH3PDyvtTqp5n649iQVDzWTweKLils2dsJMvzoPg2F RzRXOtZ8eiw3h25ah6GxG1U3NGEPA9f6Q14Po=
- In-reply-to: <237967ef0806170512q29a269ceo799ae02a70dc8f45@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70806170505v24c8d557g146a73d2cd553bab@xxxxxxxxxxxxxx> <237967ef0806170512q29a269ceo799ae02a70dc8f45@xxxxxxxxxxxxxx>
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