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:
parent
8723d530b3
commit
aff4313b12
2 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue