1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

18450: set $compcontext to -math- to complete math context within zcalc

This commit is contained in:
Oliver Kiddle 2003-04-18 13:20:50 +00:00
parent ed20475b55
commit 8da5114e53

@ -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' )