Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
"Bug" in promptnl
- X-seq: zsh-users 17133
- From: René Neumann <lists@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: "Bug" in promptnl
- Date: Wed, 06 Jun 2012 10:30:54 +0200
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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