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

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.

Thanks.

PS. I am using zsh under Sun SPARCstation 20 (SunOS Release 4.1.3_U1).
-- 
             <A HREF="http://yumimi.dais.is.tohoku.ac.jp/~kanaya/";>
            Yoshinari KANAYA (kanaya@xxxxxxxxxxxxxxxxxxxxxxxxxxx)</A>
          Miyazaki Laboratory, Graduate School of Information Sciences,
                    Tohoku University, Sendai 980-77, Japan




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