Summary: | >=app-shells/bash-completion-2.1 automatically loads new completions | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Adrian <adrian> |
Component: | Current packages | Assignee: | Michał Górny <mgorny> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | adrian, shell-tools |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Adrian
2014-12-02 00:19:55 UTC
It's a feature. It's not the autoloading itself this bug is about but the fact that I need to enable **some** completion to get this behaviour, which is a) not documented, b) not expected (why do I enable a random completion to get all of them). This is weird. Which version of bash-completion are you using (with -r* part), exactly? 2.1-r2; it's a freshly installed system so there's no clutter from old versions etc. I checked /etc/profile.d/bash-completion.sh and according the code there fits with what I noticed. the pre file is only loaded if there are other files to load (You may want to reopen this so that it doesn't get lost.) We don't really support autoloading prior to bash-completion-2.1-r90. In the earlier versions, you are required to enable all necessary completions via eselect. |