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:
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' )
|
||||
|
Loading…
Reference in New Issue
Block a user