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

Use external tool if there are a large number of completions



Hi All,

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?

Thanks,

GI

-- 
Experience is what a comb gives you after you lose your hair.




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