mirror of
https://github.com/zsh-users/zsh
synced 2024-09-29 12:44:46 +00:00
21960: put zcalc history file in ZDOTDIR if set.
This commit is contained in:
parent
5898ff44f9
commit
8c3234fb73
|
@ -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
|
||||
|
|
|
@ -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…
Reference in a new issue