Comment 0 for bug 1800544

Revision history for this message
Dan Streetman (ddstreet) wrote :

[impact]

The nvme-cli tool includes a bash completion script, but it drops it in the wrong location. This prevents it from actually being sourced and so the nvme tool doesn't do param autocompletion.

[test case]

install the nvme-cli package and try to auto-complete any of its params. They do not auto-complete.

[regression potential]

moving where this bash autocompletion file is only has the potential to break nvme's autocompletion. As that does not currently work at all, the regression potential seems low.

[other info]

bash completion files appear to be managed inside the 'bash-completion' pkg, and only rarely are managed directly by owning packages. Those that do should drop their scripts into /etc/bash_completion.d/, not /usr/share/bash_completion.d/.