mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-29 05:21:00 +01:00
Prevent double precmd during "fc -e -"
This commit is contained in:
parent
4b9c21e580
commit
92d5a511be
2 changed files with 6 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ loop(int toplevel, int justonce)
|
|||
hbegin(1); /* init history mech */
|
||||
if (isset(SHINSTDIN)) {
|
||||
setblock_stdin();
|
||||
if (interact) {
|
||||
if (interact && toplevel) {
|
||||
int hstop = stophist;
|
||||
stophist = 3;
|
||||
preprompt();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue