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

"Bug" in promptnl



Hi,

the following message sometimes is printed after some program finishes
in the shell (I can't really find a pattern on when this happens):

promptnl:65: bad math expression: operand expected at `> 1 '

The offending line should be this:

( ${${RECV#*\;}%R} > 1 )) && print -P -- $EOLMARK

The promptnl is the one from the normal zsh-distribution.

The message is no real problem but just confusing :). Is there an easy
way to fix it? Probably just checking that {${RECV#*\;}%R} does not
evaluate to the empty string, isn't it?

- René



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