1
0
Fork 0
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:
Bart Schaefer 2005-06-13 14:59:33 +00:00
parent 4b9c21e580
commit 92d5a511be
2 changed files with 6 additions and 1 deletions

View file

@ -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();