List Info

Thread: different paths to bashrc on gentoo linux and OS X




different paths to bashrc on gentoo linux and OS X
user name
2007-01-17 07:56:22
Hi!

I'm not shure what should be the desired behaviour of
prefixed bash:  
Should it source /etc/bashrc or $/etc/bash/bashrc.
Mine  
sources /etc/bash/bashrc which does not exist on OS X. A
simple  
symlink solved this for me:

lrwxr-xr-x 1 root wheel 1 Jan 16 21:18 /etc/bash -> .

Thanks,
	Philipp
-- 
gentoo-altgentoo.org mailing list


Re: different paths to bashrc on gentoo linux and OS X
user name
2007-01-17 08:09:47
On 17-01-2007 15:56:22 +0200, Philipp Riegger wrote:
> Hi!
> 
> I'm not shure what should be the desired behaviour of
prefixed bash:  
> Should it source /etc/bashrc or
$/etc/bash/bashrc. Mine  
> sources /etc/bash/bashrc which does not exist on OS X.
A simple  
> symlink solved this for me:

it should source $/etc/bash/bashrc.  But I thought
it was
patched to do that...

-- 
Fabian Groffen
Gentoo on a different level

-- 
gentoo-altgentoo.org mailing list


Re: different paths to bashrc on gentoo linux and OS X
user name
2007-01-17 09:13:03
On 17.01.2007, at 16:09, Fabian Groffen wrote:

> it should source $/etc/bash/bashrc.  But I
thought it was
> patched to do that...

Don't know. Seems to be different.

stoileb136a ~ $ ktrace Library/Gentoo/bin/bash
stoileb136a ~ $ exit
stoileb136a ~ $ kdump | grep /etc/bash/bashrc
   3141 bash     NAMI  "/etc/bash/bashrc"
        "# /etc/bash/bashrc
stoileb136a ~ $

Philipp



-- 
gentoo-altgentoo.org mailing list


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )