Rosettea / Hilbish

🌓 The Moon-powered shell! A comfy and extensible shell for Lua fans! 🌺 ✨
https://rosettea.github.io/Hilbish/
MIT License
496 stars 21 forks source link

feat: Support third party completion #262

Closed ShalokShalom closed 11 months ago

ShalokShalom commented 11 months ago

Some shells, like nushell, support the completion of other shells, like fish.

I currently use fish, and one of the remaining issues I have with Hilbish, is the proper support of such completions.

The fish completer in particularly has the most comprehensive suite of completions, so I would support that one specifically.

TorchedSammy commented 11 months ago

it looks like this just calls fish for completions? you can do that in your own user config via this here or the doc completions command. i would rather add support for manpages, since that's what fish does.

docs are kinda lacking, so if you need anything else just ask. (im working on it)

ShalokShalom commented 11 months ago

Yes, this does just call fish for completion. So, we already have the basic functionality to implement this, and it seems like we are lacking someone to implement this based on top of it.

Thanks a lot

TorchedSammy commented 11 months ago

i'll work on adding completions for builtin commands soon, and i'll also write a plugin to support carapace completions at least.

and manpage parsing too. that'll be in a next release though.