zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: zcalc prompt fix
@ 2010-01-06 18:57 sergio
  2010-01-07 21:33 ` Peter Stephenson
  0 siblings, 1 reply; 11+ messages in thread
From: sergio @ 2010-01-06 18:57 UTC (permalink / raw)
  To: zsh-workers

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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-06-14 11:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-06 18:57 PATCH: zcalc prompt fix sergio
2010-01-07 21:33 ` Peter Stephenson
2010-01-07 23:11   ` sergio
2010-01-08  0:15     ` Richard Hartmann
2010-01-08  1:00       ` sergio
2010-01-08  9:21         ` Richard Hartmann
2010-01-08  9:28     ` Peter Stephenson
2010-06-13 23:21       ` sergio
2010-06-13 23:54         ` Mikael Magnusson
2010-06-14 11:11           ` sergio
2010-06-13 23:22       ` sergio

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).