diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Functions/Misc/zcalc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6bcf9babe..d133b56eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-31 Clint Adams <clint@zsh.org> + + * 21960: R. Ramkumar: Functions/Misc/zcalc: + put zcalc history file in ZDOTDIR if set. + 2005-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> * unposted: Doc/Zsh/roadmap.yo: capitalize section headings to 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' ) |