Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Interrupting globs (Re: Something rotten in tar completion)
On Dec 4, 5:12pm, Peter Stephenson wrote:
}
} It's always in _files or _path_files --- kind of where you'd expect from
} the code you quoted. I guess it's the glob that's not very
} interruptible.
This seems to help:
diff --git a/Src/glob.c b/Src/glob.c
index ca7bc44..b3903f2 100644
--- a/Src/glob.c
+++ b/Src/glob.c
@@ -463,7 +463,7 @@ scanner(Complist q, int shortcircuit)
int errssofar = errsfound;
struct dirsav ds;
- if (!q)
+ if (!q || errflag)
return;
init_dirsav(&ds);
Messages sorted by:
Reverse Date,
Date,
Thread,
Author