From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19431 invoked from network); 17 Dec 2002 02:52:29 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 17 Dec 2002 02:52:29 -0000 Received: (qmail 14096 invoked by alias); 17 Dec 2002 02:52:16 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5584 Received: (qmail 14088 invoked from network); 17 Dec 2002 02:52:14 -0000 X-Authentication-Warning: foozle.jmd: jmd set sender to jmd@pobox.com using -f Date: Mon, 16 Dec 2002 20:53:36 -0600 From: "Jeremy M. Dolan" To: Paul Ackersviller Cc: zsh-users@sunsite.dk Subject: Re: Add ^C'd commands to history? Message-ID: <20021217025336.GA10269@foozle.attbi.com> References: <20021217022008.GA10031@foozle.attbi.com> <20021217024540.GB5165@msi.ld> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021217024540.GB5165@msi.ld> User-Agent: Mutt/1.4i On Mon, 16 Dec 2002 21:45:40 -0500, Paul Ackersviller wrote: > Instead of interrupting, you can run the command commented out simply > with the `#' command in vi mode. I'm not sure about emacs mode. Yeah, and it occurs to me I could "^Aecho " to get it in history, then wipe out this echo to run it, but I think my hands are too wired to ^C for things along this line to work very well. I'm surprised "# foo" tries to run a command called "#". That could be a fun program name. I think HIST_ADD_CANCELED would be useful to enough people to have it added. (at least as useful as the 30 or so other history options) -- Jeremy M. Dolan PGP: 1024D/3C68A1BA 9470 210C A476 FFBB 6D11 0223 0D1C ABFC 3C68 A1BA