zsh-workers
 help / color / mirror / code / Atom feed
From: Zoltan Hidvegi <hzoli@ny.frontiercomm.net>
To: zsh-workers@math.gatech.edu (Zsh hacking and development)
Subject: Correct bug
Date: Tue, 20 May 1997 01:20:46 -0400 (EDT)	[thread overview]
Message-ID: <199705200520.BAA02149@hzoli.home> (raw)

hzoli ~ % te;net turan 
zsh: correct 'te' to 'tr' [nyae]? e
zsh: correct 'net' to 'hnet' [nyae]? e
hzoli ~ % te;net turan

The problem is that after I typed e to edit the mistyped command the
command line did not return, it wanted to correct more.

The fix is below.

Zoltan


*** Src/utils.c	1997/05/18 09:09:03	3.1.2.13
--- Src/utils.c	1997/05/20 05:16:24
***************
*** 1131,1137 ****
      int ne;
      int preflen = 0;
  
!     if (**s == '-' || **s == '%')
  	return;
      if (!strcmp(*s, "in"))
  	return;
--- 1131,1137 ----
      int ne;
      int preflen = 0;
  
!     if ((histdone & HISTFLAG_NOEXEC) || **s == '-' || **s == '%')
  	return;
      if (!strcmp(*s, "in"))
  	return;


                 reply	other threads:[~1997-05-20  5:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=199705200520.BAA02149@hzoli.home \
    --to=hzoli@ny.frontiercomm.net \
    --cc=zsh-workers@math.gatech.edu \
    /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).