From 8c3234fb738b56cb8e087681fd8cf82aeac5046b Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Mon, 31 Oct 2005 16:01:13 +0000 Subject: 21960: put zcalc history file in ZDOTDIR if set. --- Functions/Misc/zcalc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions/Misc/zcalc') diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index 67c00fac4..b83a939c9 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -91,7 +91,7 @@ local compcontext="-math-" integer num outdigits outform=1 # We use our own history file with an automatic pop on exit. -history -ap ~/.zcalc_history +history -ap "${ZDOTDIR:-$HOME}/.zcalc_history" forms=( '%2$g' '%.*g' '%.*f' '%.*E' ) -- cgit 1.4.1