rockandska / fzf-obc

fzf over bash complete
50 stars 6 forks source link

Add support for readline completion #51

Closed kshitij-jo closed 1 year ago

kshitij-jo commented 1 year ago

Thank you for you this amazing tool!

Addition of readline completion would allow for an even more pleasant experience. fzf-tab-completion (https://github.com/lincheney/fzf-tab-completion) is a great tool, but lacks the customizablility fzf-obc provides. However it has readline completion which is very useful.

If possible, please consider adding similar functionality to fzf-obc.

rockandska commented 1 year ago

Thank you for you this amazing tool!

Thanks

If possible, please consider adding similar functionality to fzf-obc.

Sadly, it is not possible to implement something as @lincheney does (catch readline completion in python, etc..). It does not work at the same level. fzf-obc works at the completion level (by wrapping completion scripts), while fzf-tab-completion works at the readline library level by catching call to the function who show completion. Additionally, even if I love fzf-tab-completion, it only works for programs who have not readline statically linked.

Regards,