bash-completion icon indicating copy to clipboard operation
bash-completion copied to clipboard

Question: is there a way to source completion files always and not just on-demand

Open calestyo opened this issue 9 months ago • 10 comments

Hey there.

I was looking at Debian bug #1013356 which is about fzf’s completion file, which Debian installs at /usr/share/bash-completion/completions/fzf not being loaded (unless one does fzf <TAB>) which however breaks the functionality of that (it's not just completion for fzf but like a hook that allows completion of arbitrary other things (e.g. SSH hostnames) usingfzf.

So I wondered whether bash-completion provides means to have such things sourced in general. Couldn't find anything in the FAQ or previous issues. And I think helpers aren’t what I'm looking for either.

Thanks, Chris.

calestyo avatar Sep 25 '23 10:09 calestyo