mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-25 17:41:19 +02:00
18450: set $compcontext to -math- to complete math context within zcalc
This commit is contained in:
parent
ed20475b55
commit
8da5114e53
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue