3 ms·
Your reply suprises me, when I run "grep --[TAB]" I go a whole bunch of flags. I'd probably suggest that bash-completion being a "third party" package is a goo
by stevekemp 3y ago
Your reply suprises me, when I run "grep --[TAB]" I go a whole bunch of flags.
I'd probably suggest that bash-completion being a "third party" package is a good thing, it's entirely external to the bash project and that's good. It means we're not pinned to releases alongside the shell. After all it has support for ssh, grep, and many more tools they should be able to contribute to one location and the shell-project itself would be thee wrong one.
bash completion provides a framework for adding completion to "stuff", and the git-package on Debian uses that to drop a file into `/usr/share/bash-completion/completions/` so there's no need for any other third party framework:
1. Install git
2. Install bash completion package
3. Everything should just work.
Anyway I guess a lot of this will depend on the system you're using, and how their packages are configured, but I don't personally believe that bash completion is in a terrible state.