Summary: | app-shells/bash: /etc/bash/bashrc.d request? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hongjiu Zhang <voidprayer> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WORKSFORME | ||
Severity: | enhancement | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Hongjiu Zhang
2009-07-22 11:40:20 UTC
packages should never automatically install things into /etc/profile.d/, and the same logic applies to /etc/bash/bashrc.d/. installation of a package is not an automatic opt-in. Well, in fact, bash-completion and java-config does. They have file in /etc/profile.d. Do you mean these are either workarounds or deprecated? Thank you for your reply. what i meant was installing and automatically enabling. bash-completion does not. it installs a hook script, but it doesnt enable things unless the user has enabled it. change your console to start a login shell and it'll go through the normal /etc/profile* setup |