21960: put zcalc history file in ZDOTDIR if set.

This commit is contained in:
Clint Adams 2005-10-31 16:01:13 +00:00
parent 5898ff44f9
commit 8c3234fb73
2 changed files with 6 additions and 1 deletions

View file

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

View file

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