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

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


I should not be getting the "unmatched" and "parse error" messages.  Wasn't
this problem already reported/fixed?  I distinctly recall that someone else
encountered this problem.

With PROMPT_SUBST turned off, everything is normal:

4% unsetopt promptsubst
5% ks
zsh: correct `ks' to `ls' [nyae]? n
zsh: command not found: ks


Later,

- Eskandar




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