diff options
| author | Clint Adams <clint@users.sourceforge.net> | 2005-10-31 16:01:13 +0000 |
|---|---|---|
| committer | Clint Adams <clint@users.sourceforge.net> | 2005-10-31 16:01:13 +0000 |
| commit | 8c3234fb738b56cb8e087681fd8cf82aeac5046b (patch) | |
| tree | 514c66df57b3b69b357ebed785510474fe7ca198 /Functions/Misc | |
| parent | unposted: minor tweaks to roadmap (diff) | |
| download | zsh-8c3234fb738b56cb8e087681fd8cf82aeac5046b.tar zsh-8c3234fb738b56cb8e087681fd8cf82aeac5046b.tar.gz zsh-8c3234fb738b56cb8e087681fd8cf82aeac5046b.tar.bz2 zsh-8c3234fb738b56cb8e087681fd8cf82aeac5046b.tar.lz zsh-8c3234fb738b56cb8e087681fd8cf82aeac5046b.tar.xz zsh-8c3234fb738b56cb8e087681fd8cf82aeac5046b.tar.zst zsh-8c3234fb738b56cb8e087681fd8cf82aeac5046b.zip | |
21960: put zcalc history file in ZDOTDIR if set.
Diffstat (limited to 'Functions/Misc')
| -rw-r--r-- | Functions/Misc/zcalc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index 67c00fac4..b83a939c9 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -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' ) |
