Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH/RFC] Completion: Add _composer
On Wed, Dec 19, 2018 at 3:38 PM dana <dana@xxxxxxx> wrote:
>
> In cases like this where there are many thousands of possibilities, and you try
> to complete when there's no prefix/suffix yet on the command line, completion
> hangs for ages (several minutes here) on the loop in _multi_parts. I didn't
> look very hard but i think maybe this could be improved if the empty argument
> were treated as a special case? Even then, though, i's still effectively
> unusable if you add too many possibilities at once
Maybe compadd itself should throw an error if there are "too many"
results. I'm not sure exactly where to catch this or how to determine
"too many", though.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author