zsh-users
 help / color / mirror / code / Atom feed
From: "Jeremy M. Dolan" <jmd@pobox.com>
To: Paul Ackersviller <paulda@rogers.com>
Cc: zsh-users@sunsite.dk
Subject: Re: Add ^C'd commands to history?
Date: Mon, 16 Dec 2002 20:53:36 -0600	[thread overview]
Message-ID: <20021217025336.GA10269@foozle.attbi.com> (raw)
In-Reply-To: <20021217024540.GB5165@msi.ld>

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 <mailto:jmd@pobox.com> <http://jmd.us/>
PGP: 1024D/3C68A1BA 9470 210C A476 FFBB 6D11  0223 0D1C ABFC 3C68 A1BA


  reply	other threads:[~2002-12-17  2:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-17  2:20 Jeremy M. Dolan
2002-12-17  2:29 ` Stephen Rueger
2002-12-17  2:45 ` Paul Ackersviller
2002-12-17  2:53   ` Jeremy M. Dolan [this message]
2002-12-17  2:56     ` Geoff Wing
2002-12-17  3:21     ` Stephen Rueger
2002-12-17  3:21 ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021217025336.GA10269@foozle.attbi.com \
    --to=jmd@pobox.com \
    --cc=paulda@rogers.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).