From 8c60540ce6a2969878c8e172e0015d32e5a6ddc0 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 8 Jan 2010 09:30:43 +0000 Subject: 27577: sergio: (%) is not needed in zcalc prompt since PROMPTPERCENT is obeyed --- Functions/Misc/zcalc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Misc') diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index 42bb72e2c..ebf5cf471 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -152,7 +152,7 @@ for (( num = 1; num <= $#; num++ )); do 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. -- cgit 1.4.1