diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2004-05-13 17:08:03 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2004-05-13 17:08:03 +0000 |
commit | aff4313b12df835e32b767aa8b1a1c4013514a44 (patch) | |
tree | c04595d841aec3c0b63c1bee2ac06572c1682b2b /Functions/Misc | |
parent | 8723d530b3f7321109e865b09d6ecc00b4a9f4ed (diff) | |
download | zsh-aff4313b12df835e32b767aa8b1a1c4013514a44.tar.gz zsh-aff4313b12df835e32b767aa8b1a1c4013514a44.tar.xz zsh-aff4313b12df835e32b767aa8b1a1c4013514a44.zip |
19936: zcalc temp history file name
Diffstat (limited to 'Functions/Misc')
-rw-r--r-- | Functions/Misc/zcalc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index e8a28f9d1..37e06557c 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -87,8 +87,8 @@ emulate -L zsh setopt extendedglob # can't be local since required in EXIT trap -zcalc_orighist=$HISTFILE -local temphist=${TMPPREFIX}hist SAVEHIST=$HISTSIZE +zcalc_orighist=$HISTFILE +local temphist=${TMPPREFIX}zcalc_hist.$$ SAVEHIST=$HISTSIZE HISTFILE=$temphist fc -W |