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:
parent
5898ff44f9
commit
8c3234fb73
2 changed files with 6 additions and 1 deletions
|
|
@ -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' )
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue