You are not logged in.
Pages: 1
i see that *without* installing `bash-completion` there are already several files in /usr/share/bash-completion/...
what's the proper way to consume those?
the completion package install 1Mb of other files and a script that does its magic and hooks up everything via a /usr/share/bash-completion/bash_completion script. But without the script and the larger package, how am i supposed to use the ones that are included on the regular bash packages? ...not asking how to make it work, but if I am missing something that enable those completions like the full package does.
Or are those just placed there by other packages because they assume there will be bash-completion installed and are useless without it?
Offline
You can check which package owns the file with
pacman -Qo <file with path>Arch is home!
https://github.com/Docbroke
Offline
“/usr/share/bash-completion” is a place for drop-in files. Many packages⁽¹⁾ put files there. The files in “/usr/share/bash-completion/completions” are plain scripts, which can be sourced into your shell.
____
⁽¹⁾ 421 at this point.
Paperclips in avatars? | Sometimes I seem a bit harsh — don’t get offended too easily!
Offline
Pages: 1