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

Re: PROMPT_SUBST bug?? zsh-2.6-beta13-hzoli13



> Hello zsh experts,
> 
> Setting both "setopt correct" and "setopt promptsubst" with
> zsh-2.6-beta13-hzoli13 causes strange behavior.
> 
>   hostname% setopt correct
> 
>   hostname% setopt promptsubst
>   hostname% exot
>   zsh: unmatched '
>   zsh: parse error in command substitution
>   zsh: correct 
>                ^(cursor is here)
> 
>   hostname% unsetopt promptsubst
>   hostname% exot
>   zsh: correct `exot' to `exit' [nyae]? 
> 
> Even if there are no startup/shutdown files, this also occurs.
> It was OK with zsh-2.6-beta9. Any suggestions will be greatly
> appreciated.

This is already fixed in beta15-hzoli14 and it will be fixed in beta17.
beta9 also has bugs here which sometimes causes SEGV in spelling
correction.

Zoltan




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