bash completion: installation path
The bash completion script is installed into incorrect location. We could benefit pkg-config for bash-completion instead of hardcoding the path:
% pkg-config --variable=completionsdir bash-completion
/usr/share/bash-completion/completions
% cat /usr/share/pkgconfig/bash-completion.pc
prefix=/usr
compatdir=/etc/bash_completion.d
completionsdir=${prefix}/share/bash-completion/completions
helpersdir=${prefix}/share/bash-completion/helpers
Name: bash-completion
Description: programmable completion for the bash shell
URL: http://bash-completion.alioth.debian.org/
Version: 2.1