1 |
On Wed, 2007-09-19 at 17:03 +0200, David Harel wrote: |
2 |
> I was surprised to find that in man bash the reference to |
3 |
> initialization |
4 |
> files is wrong. The bash manual says it reads initialization files |
5 |
> from |
6 |
> /etc/profile: |
7 |
> FILES |
8 |
> /bin/bash |
9 |
> The bash executable |
10 |
> /etc/profile |
11 |
> The systemwide initialization file, executed for login |
12 |
> shells |
13 |
|
14 |
Most bash installations have /etc/profile source /etc/bashrc. This is |
15 |
not uncommon. You'll probably likely see the default ~/.bash_profile |
16 |
source ~/.bashrc. |
17 |
|
18 |
But it is sourcing /etc/profile else you wouldn't be getting half the |
19 |
environment variables that you're getting. |
20 |
|
21 |
-a |
22 |
|
23 |
-- |
24 |
gentoo-user@g.o mailing list |