summary refs log tree commit diff
path: root/Functions/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Misc')
-rw-r--r--Functions/Misc/zcalc4
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