about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-01-08 09:30:43 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-01-08 09:30:43 +0000
commit8c60540ce6a2969878c8e172e0015d32e5a6ddc0 (patch)
treec81e7187e83239f067aadb64b78aee222e3bbced /Functions
parentb1e8b11abe7542527c3d22065474d7379f865d2c (diff)
downloadzsh-8c60540ce6a2969878c8e172e0015d32e5a6ddc0.tar.gz
zsh-8c60540ce6a2969878c8e172e0015d32e5a6ddc0.tar.xz
zsh-8c60540ce6a2969878c8e172e0015d32e5a6ddc0.zip
27577: sergio: (%) is not needed in zcalc prompt since PROMPTPERCENT is obeyed
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Misc/zcalc2
1 files changed, 1 insertions, 1 deletions
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.