Add bash-completion
commitfa321af52236dc42353a2ecf603b1308884a5cfe
authorKrsna Mahapatra <keshto@users.noreply.github.com>
Thu, 9 Apr 2020 07:02:24 +0000 (8 21:02 -1000)
committerGitHub <noreply@github.com>
Thu, 9 Apr 2020 07:02:24 +0000 (8 21:02 -1000)
treeb31b05340d37c4f6ded02da7567915e9b1f69d08
parent3c729dd338dce8e158eb200d0c0c49b4a24ddd38
Add bash-completion

This assumes that we will be installing to a Void Linux system with 'bash-completion' package installed.
Notes:
- sourcing the xbps bash completion for forward proofing.
- calling out to `_xbps_all_packages` and `_xbps_installed_packages` directly, as `_xbps_complete` expects $1 to be one of the xbps-* commnads.
- none of the extra `-args` are implemented due to the hardcoded $1 problem mentioned above.
bash-completion/completions/vpm [new file with mode: 0644]