Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Correction Bug in Beta 17
- X-seq: zsh-workers 1043
- From: Peter Stephenson <pws@xxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: Correction Bug in Beta 17
- Date: Thu, 09 May 1996 09:34:33 +0200
- In-reply-to: "hzoli@xxxxxxxxxx"'s message of "Thu, 09 May 1996 00:28:19 MET." <199605082228.AAA00309@xxxxxxxxxxxxxxxxxxxx>
hzoli@xxxxxxxxxx wrote:
> > 1% setopt correct
> > 2% setopt promptsubst
> > 3% ks
> > zsh: unmatched '
> > zsh: parse error in command substitution
>
> zsh: correct `%R' to `%r' [nyae]?
>
> If you tund on GLOB_SUBST, zsh will try to expand it so interprets ` as
> command substitution.
Obviously, the default sprompt needs changing; you shouldn't need to
spend several hours debugging just because you've changed your options.
There seems to be another bug hiding here somewhere.
% setopt correct
% ks
zsh: correct 'ks' to 'ms' [nyae]? y
zsh: permission denied: ms
% which ms
%
*** Src/init.c.gs Mon May 6 16:08:58 1996
--- Src/init.c Thu May 9 09:27:32 1996
***************
*** 592,598 ****
prompt3 = ztrdup("");
prompt4 = ztrdup("");
}
! sprompt = ztrdup("zsh: correct `%R' to `%r' [nyae]? ");
if (!(ttystrname = ztrdup(ttyname(SHTTY))))
ttystrname = ztrdup("");
--- 592,598 ----
prompt3 = ztrdup("");
prompt4 = ztrdup("");
}
! sprompt = ztrdup("zsh: correct '%R' to '%r' [nyae]? ");
if (!(ttystrname = ztrdup(ttyname(SHTTY))))
ttystrname = ztrdup("");
--
Peter Stephenson <pws@xxxxxx> Tel: +49 33762 77366
WWW: http://www.ifh.de/~pws/ Fax: +49 33762 77330
Deutches Electronen-Synchrotron --- Institut fuer Hochenergiephysik Zeuthen
DESY-IfH, 15735 Zeuthen, Germany.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author