From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19086 invoked from network); 17 Dec 2002 02:19:00 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Dec 2002 02:19:00 -0000 Received: (qmail 4954 invoked by alias); 17 Dec 2002 02:18:47 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5581 Received: (qmail 4946 invoked from network); 17 Dec 2002 02:18:46 -0000 X-Authentication-Warning: foozle.jmd: jmd set sender to jmd@pobox.com using -f Date: Mon, 16 Dec 2002 20:20:08 -0600 From: "Jeremy M. Dolan" To: zsh-users@sunsite.dk Subject: Add ^C'd commands to history? Message-ID: <20021217022008.GA10031@foozle.attbi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Hi all. I'd very much like zsh to add commands to history that I ^C instead of entering. Many times I type out a long command, maybe iptables or something, then realize I need to do $X first, so I have to ^C the command. That leaves it still visible so I can use gpm or X to copy and paste it, if they happen to be available. But I'd really prefer zsh to add entered commands as well as canceled ones to history. I didn't see any option in the man pages about this, so what do you think? Logical thing to have added? Or is there a way? Thanks. (please cc on replies) -- Jeremy M. Dolan PGP: 1024D/3C68A1BA 9470 210C A476 FFBB 6D11 0223 0D1C ABFC 3C68 A1BA