* Correct bug
@ 1997-05-20 5:20 Zoltan Hidvegi
0 siblings, 0 replies; only message in thread
From: Zoltan Hidvegi @ 1997-05-20 5:20 UTC (permalink / raw)
To: Zsh hacking and development
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-05-20 5:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-05-20 5:20 Correct bug Zoltan Hidvegi
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).