mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
zsh-workers/7549
This commit is contained in:
parent
928fa0b3a5
commit
b600e4733c
1 changed files with 1 additions and 1 deletions
|
@ -1043,7 +1043,7 @@ hend(void)
|
|||
chline = NULL;
|
||||
histactive = 0;
|
||||
if (isset(SHAREHISTORY) || isset(INCAPPENDHISTORY))
|
||||
savehistfile(hf, 1, HFILE_USE_OPTIONS | HFILE_FAST);
|
||||
savehistfile(hf, 0, HFILE_USE_OPTIONS | HFILE_FAST);
|
||||
unlockhistfile(hf); /* It's OK to call this even if we aren't locked */
|
||||
return !(flag & HISTFLAG_NOEXEC || errflag);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue