about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Functions/Misc/zcalc1
1 files changed, 1 insertions, 0 deletions
diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc
index 31ab11dba..e8a28f9d1 100644
--- a/Functions/Misc/zcalc
+++ b/Functions/Misc/zcalc
@@ -106,6 +106,7 @@ zcalc_restore() {
 trap zcalc_restore HUP INT QUIT EXIT
 
 local line ans base defbase forms match mbegin mend psvar optlist opt arg
+local compcontext="-math-"
 integer num outdigits outform=1
 
 forms=( '%2$g' '%.*g' '%.*f' '%.*E' )