Hi Kevin,

On Wed, Mar 10, 2021 at 04:55:40PM -0700, Kevin Locke wrote:
> Package: trace-cmd
> Version: 2.9.1-1
> Severity: normal
> Tags: patch
> 
> Dear Maintainer,
> 
> trace-cmd installs a bash-completion script to
> /usr/share/bash-completion/completions/trace-cmd/trace-cmd.bash
> Unfortunately, it will not be used because bash-completion dynamically
> loads completion scripts from
> /usr/share/bash-completion/completions/$cmd, so completions for
> trace-cmd must be installed as
> /usr/share/bash-completion/completions/trace-cmd.

Thanks for the report. Not sure how I missed this in my initial test. :(
But I think the rename is not required as bash-completion loads "$cmd"
or "$cmd.bash" or "_$cmd". And, so based on my testing only installing
/usr/share/bash-completion/completions/trace-cmd.bash does make it work.

Can you please confirm from your setup before I upload the new version +
this fix..


--
Regards
Sudip

Reply via email to