From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7080 invoked from network); 20 May 1997 05:30:14 -0000 Received: from euclid.skiles.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 20 May 1997 05:30:14 -0000 Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id BAA20976; Tue, 20 May 1997 01:17:18 -0400 (EDT) Resent-Date: Tue, 20 May 1997 01:17:18 -0400 (EDT) From: Zoltan Hidvegi Message-Id: <199705200520.BAA02149@hzoli.home> Subject: Correct bug To: zsh-workers@math.gatech.edu (Zsh hacking and development) Date: Tue, 20 May 1997 01:20:46 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"v3dW_1.0.e75.TFJWp"@euclid> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3158 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu 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;