[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 13:11:17 UTC 2016
2016-02-13 14:27 GMT+02:00 Ville Skyttä <ville.skytta at iki.fi>:
> On Sat, Feb 13, 2016 at 1:57 PM, Martin-Éric Racine
> <martin-eric.racine at iki.fi> wrote:
>> Responding to Lintian's warning (package-installs-into-obsolete-dir etc/bash_completion.d) I moved a completion script to the new /usr/share/bash-completion/completions/ location. The script is not sourced at all. However, if I move it back to the old location, it is instantly available again.
>>
>> The completion script involved:
>
> What is the name of your completion script in
> /usr/share/bash-completion/completions? It should be chlogin or
> chlogin.bash. And note that it is indeed loaded dynamically, i.e. when
> chlogin completion is attempted. For more details, see
> _completion_loader in bash_completion and the bash-completion's
> README.
It's called funkyware.chlogin
Dynamic loading is good. My only point was that the script is not
sourced at all if it's in the new location, but it positively is if
it's in the old location.
Martin-Éric
More information about the Bash-completion-devel
mailing list