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

Re: Use external tool if there are a large number of completions



gi1242+zsh@xxxxxxxxx wrote:
> I was wondering if it's possible to use an external tool if there are
> more than a certain number of completions. Sometimes there are thousands
> of completions (eg apt install), and the keyboard interface isn't too
> efficient. However, things like "rofi" handle this very nicely. So is it
> possible to invoke a custom command (e.g. rofi -dmenu) if there is more
> than (say) half a screenful of completions?

Have you enabled and configured the complist module. It has some
similarities to tools such as rofi in that it can immediately present a
screenful of completion matches and allow one to be selected. They keys
are configurable and I find them to be fairly efficient.

Oliver




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