userland icon indicating copy to clipboard operation
userland copied to clipboard

Add bash programmable completion for vcgencmd

Open rgm3 opened this issue 4 years ago • 3 comments

Package the vcgencmd-completion.bash file as /usr/share/bash-completion/completions/vcgencmd to install. The integration tests don't need to be shipped, but may help maintenance when updating the completion for future changes.

rgm3 avatar Jul 09 '21 01:07 rgm3

The CMakeLists.txt file may want:

install(FILES vcgencmd-completion.bash DESTINATION bash-completion/completions/vcgencmd)

But I'm not sure. I'd be happy to update the PR if that seems correct.

rgm3 avatar Jul 09 '21 01:07 rgm3

This seems useful. @XECDesign how would this be best used in RPiOS? Would you install the file directly in /usr/share/bash-completion/? Or just leave it to the user to install?

popcornmix avatar Jul 09 '21 15:07 popcornmix

I'd modify the packaging to install it appropriately.

XECDesign avatar Jul 09 '21 16:07 XECDesign