mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-25 05:10:28 +02:00
zsh-3.1.6
This commit is contained in:
parent
14810d6df1
commit
61e68d70da
29 changed files with 710 additions and 240 deletions
|
|
@ -700,7 +700,7 @@ hbegin(int dohist)
|
|||
{
|
||||
isfirstln = isfirstch = 1;
|
||||
errflag = histdone = spaceflag = 0;
|
||||
stophist = (dohist ? ((!interact || unset(SHINSTDIN)) << 1) : 2);
|
||||
stophist = (!dohist || !interact || unset(SHINSTDIN)) ? 2 : 0;
|
||||
if (stophist == 2 || (inbufflags & INP_ALIAS)) {
|
||||
chline = hptr = NULL;
|
||||
hlinesz = 0;
|
||||
|
|
@ -721,6 +721,8 @@ hbegin(int dohist)
|
|||
hwbegin = ihwbegin;
|
||||
hwend = ihwend;
|
||||
addtoline = iaddtoline;
|
||||
if (!isset(BANGHIST))
|
||||
stophist = 4;
|
||||
}
|
||||
chwordpos = 0;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue