From: "René Neumann" <lists@necoro.eu>
To: zsh-users@zsh.org
Subject: "Bug" in promptnl
Date: Wed, 06 Jun 2012 10:30:54 +0200 [thread overview]
Message-ID: <4FCF153E.9040405@necoro.eu> (raw)
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é
next reply other threads:[~2012-06-06 8:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-06 8:30 René Neumann [this message]
2012-06-06 14:45 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FCF153E.9040405@necoro.eu \
--to=lists@necoro.eu \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).