1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

19936: zcalc temp history file name

This commit is contained in:
Peter Stephenson 2004-05-13 17:08:03 +00:00
parent 8723d530b3
commit aff4313b12
2 changed files with 7 additions and 2 deletions

View file

@ -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