mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-10 12:40:58 +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;
|
chline = NULL;
|
||||||
histactive = 0;
|
histactive = 0;
|
||||||
if (isset(SHAREHISTORY) || isset(INCAPPENDHISTORY))
|
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 */
|
unlockhistfile(hf); /* It's OK to call this even if we aren't locked */
|
||||||
return !(flag & HISTFLAG_NOEXEC || errflag);
|
return !(flag & HISTFLAG_NOEXEC || errflag);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue