Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 193167 - bash doesn't run bash_completion configuration
Summary: bash doesn't run bash_completion configuration
Status: RESOLVED DUPLICATE of bug 124741
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-20 12:22 UTC by flori
Modified: 2007-09-20 13:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description flori 2007-09-20 12:22:26 UTC
/etc/profile sources all /etc/profile.d/*.sh - but bash_completion installs only /etc/profile.d/bash-completion
So completion won't work, even after configured with bashcomp-config.

Reproducible: Always

Steps to Reproduce:
1. # emerge bash-completion bash-completion-config
2. # bashcomp-config enable gentoo
3. # emerge gentoo<TAB><TAB>
Actual Results:  
The completion didn't work.

Expected Results:  
It should have completed all gentoo packages starting with "gentoo".
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-09-20 12:25:46 UTC

*** This bug has been marked as a duplicate of bug 124741 ***
Comment 2 flori 2007-09-20 13:17:21 UTC
Great, it's a duplicate! I read in the other "resolved" bug reports
(where I didn't search, because the bug is clearly not resolved), that
this is "by design". I think, that this design sucks.

But apart from that, it should be documented somewhere (in
/etc/profile?), that files in /etc/profile.d/ that don't end in *.sh
should be sourced manually. It would also be a good idea to put a
comment about this convention (?) in /etc/profile.d/bash-completion.

You know, it's ok with me to be a lazy bum and don't fix anything, but
it isn't ok to repeatedly steal time from people (myself + the other
reporters of this bug) to figure this strange behavior out and cause
them to file a lengthy bug report. It doesn't increase the chances, that
people bother to report bugs at all in the future, but instead just fix
them for themselves in case they encounter similar designs.