summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
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 633a38e92..31ab11dba 100644
--- a/Functions/Misc/zcalc
+++ b/Functions/Misc/zcalc
@@ -173,7 +173,7 @@ while vared -cehp "${(%)ZCALCPROMPT}" line; do
       line=
       continue
     else
-      base=
+      base=$match[1]
     fi
   else
     base=$defbase