mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-26 04:30:27 +01:00
50648: Use $ZCALC_HISTORY where appropriate
This commit is contained in:
parent
ab4d62eb97
commit
6e827d8f9a
3 changed files with 13 additions and 3 deletions
|
|
@ -124,8 +124,10 @@ integer _rpn_mode _matched _show_stack _i _n
|
|||
integer _max_stack _push
|
||||
local -a _expressions stack
|
||||
|
||||
|
||||
# We use our own history file with an automatic pop on exit.
|
||||
history -ap "${ZDOTDIR:-$HOME}/.zcalc_history"
|
||||
history -ap "${ZCALC_HISTFILE:-${ZDOTDIR:-$HOME}/.zcalc_history}"
|
||||
|
||||
|
||||
_forms=( '%2$g' '%.*g' '%.*f' '%.*E' '')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue