Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 20529

Summary: Bash should use /etc/bash.bashrc
Product: Gentoo Linux Reporter: Fabian Otto <sigsegv>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED WONTFIX    
Severity: normal CC: avenj, azarah
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabian Otto 2003-05-06 08:42:15 UTC
Hi. 
 
I'd like to see that bash would be compiled with using /etc/bash.bashrc. I don't care if it 
has the same name. We could then create a dir /etc/bashrc.d/ or so. And its really easy 
do enable it.  
I am not knowleged enough in applying patches whithin emerge. Otherwise I would 
supplyed a diff.  
 

Reproducible: Always
Steps to Reproduce:
Comment 1 Sankara Krishnamoorthy 2003-05-06 11:23:51 UTC
A skel dir exists with bashrc and profiles - for user accounts.

do you have a specific setup in mind for having a bashrc.d entry?
Comment 2 Fabian Otto 2003-05-07 05:36:17 UTC
Maybe I did not make my self clear. I want a global bashrc file which doese not 
has to be sourced by a user bashrc. The bash-sources support my request in 
having a configfile to enable this feature. Debian is already using it (But thats no 
my motivation)  
 
 
No I don't have a specific setup in mind. I just recalled that someone suggested 
it.  
 
 
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2003-05-07 11:40:01 UTC
Unless you have a specific use for it in mind, I'm not sure that this would be beneficial...