[Bash-completion-devel] Bug#814599: Bug#814599: bash-completion: different behavior in /etc/bash_completion.d/ than in /usr/share/bash-completion/completions/

Martin-Éric Racine martin-eric.racine at iki.fi
Sat Feb 13 19:50:19 UTC 2016


2016-02-13 21:12 GMT+02:00 Ville Skyttä <ville.skytta at iki.fi>:
> Yes, things have changed, this is not a bug in bash-completion. Your
> script not being sourced at all from the new location is expected
> because the name of the script is not what it needs to be to work
> properly in that location. In the old, deprecated location everything
> is eagerly loaded at shell startup, pretty much no matter what name
> things are in. Change the name of the script to chlogin or
> chlogin.bash and it will be sourced when needed.

Fair enough.

This detail would need to be added to the error that Lintian throws at
maintainers when their script is still at the old location.

Martin-Éric



More information about the Bash-completion-devel mailing list