[pulseaudio-discuss] [PATCH] build-sys: Install bash completion to where bash-completion.pc says

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Thu Jan 29 04:14:27 PST 2015


On Sun, 2015-01-25 at 13:42 +0200, Ville Skyttä wrote:
> Fall back to the previous /etc/bash_completion.d dir on failures
> (either old bash completion or not installed).
> 
> Signed-off-by: Ville Skyttä <ville.skytta at iki.fi>
> ---
>  Makefile.am  | 2 +-
>  configure.ac | 6 ++++++
>  2 files changed, 7 insertions(+), 1 deletion(-)

Thanks for the patch! We already have an earlier proposal, though:
https://bugs.freedesktop.org/show_bug.cgi?id=84921

As I explained in the bug, I don't like using bash-completion.pc,
because it will give a directory that will make us overwrite distro
files, which is something that I think we should never do by default. It
should be a user choice to overwrite distro files, so it should be
possible for the user to configure the bash completion directory. Even
better would be if Bash supported loading completions under /usr/local
even when Bash itself is installed to some other prefix. For comparison,
Zsh uses /usr/local in its default completion search paths.

-- 
Tanu



More information about the pulseaudio-discuss mailing list