Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: zcalc prompt fix
- X-seq: zsh-workers 27577
- From: sergio <mailbox@xxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: zcalc prompt fix
- Date: Wed, 06 Jan 2010 21:57:12 +0300
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
Hello.
There are problems when using color in ZCALCPROMPT.
This is simple fix.
--- /usr/share/zsh/functions/Misc/zcalc 2009-12-28 06:57:20.000000000 +0300
+++ zcalc 2010-01-06 14:55:15.000000000 +0300
@@ -152,7 +152,7 @@
done
psvar[1]=$num
-while vared -cehp "${(%)ZCALCPROMPT}" line; do
+while vared -cehp "${ZCALCPROMPT}" line; do
[[ -z $line ]] && break
# special cases
# Set default base if `[#16]' or `[##16]' etc. on its own.
--
sergio.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author