Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353802 - app-shells/bash: Add bash-completion USE flag
Summary: app-shells/bash: Add bash-completion USE flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 00:35 UTC by Richard
Modified: 2011-02-06 00:41 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 Richard 2011-02-06 00:35:06 UTC
It would be nice if a bash-completion USE flag were available that would append the following to /etc/bash/bashrc:

[[ -f /etc/profile.d/bash-completion.sh ]] && source /etc/profile.d/bash-completion.sh

That way when the bash-completion USE flag is turned on globally, the new features will immediately become obvious.

I know that it is somewhat unusual to use a USE flag for a configuration setting, but net-misc/dhcpcd does something similar with its zeroconf USE flag.
Comment 1 Richard 2011-02-06 00:41:05 UTC
Nevermind. Turning this on is more involved than I thought it would be, so the initial thinking that caused me to open this might not be correct. I will revisit this idea when I have the feature enabled to see how useful my original suggestion really would be.