Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Bug#99095: Process completion for gdb



> I thought about something like that when I wrote _gdb.  The problem is
> if there is no file matching *core.  Then the first would complete all
> files (or directories), too.  And since they may be in different groups,
> they would be shown twice.
> 
> Obviously, I didn't find a solution...

One could rely on the output of file(1), but that's ridiculously expensive.
Why not an option to _path_files that doesn't add any matches if the
pattern is not met?



Messages sorted by: Reverse Date, Date, Thread, Author