Commit Graph

2 Commits

Author SHA1 Message Date
Krsna Mahapatra 4fb7852dae
Handle short codes in bash completion 2020-04-19 20:07:50 -10:00
Krsna Mahapatra fa321af522
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.
2020-04-08 21:02:24 -10:00