1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-27 16:50:58 +01:00

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

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