Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Correction Bug in Beta 17



> 
> Hello,
> 
> With the PROMPT_SUBST option set in zsh-2.6-beta17, the spelling correction
> prompt is totally messed up, and two bogus error messages are produced:
> 
> 1% setopt correct
> 2% setopt promptsubst
> 3% ks
> zsh: unmatched '
> zsh: parse error in command substitution
> zsh: correct n
> zsh: command not found: ks

This is not a bug.  And the error messages are correct.  SPROMPT is
initialised to

zsh: correct `%R' to `%r' [nyae]?

If you tund on GLOB_SUBST, zsh will try to expand it so interprets ` as
command substitution.

Zoltan




Messages sorted by: Reverse Date, Date, Thread, Author