1 |
I found a bit of a kludge that seems to temporarily fix the problem |
2 |
without modifying the standard OS X environment. I added the |
3 |
following to my ~/.bashrc |
4 |
|
5 |
> # if we are in the prefixed gentoo |
6 |
> if `echo $SHELL|grep Gentoo 1>/dev/null 2>&1` ; then |
7 |
> # source prefixed profile |
8 |
> source ${HOME}/Library/Gentoo/etc/profile |
9 |
> # fix color ls |
10 |
> alias ls='ls --color' |
11 |
> # disable bold in PS1 |
12 |
> PS1=`echo $PS1|sed s/01\;/00\;/g` |
13 |
> PS1=$PS1' ' |
14 |
> export PS1 |
15 |
> fi |
16 |
|
17 |
But this is not a proper fix. I tried compiling bash a few times with |
18 |
different configure options. Specifically I tried |
19 |
|
20 |
> ./configure --prefix=/Users/wilson/Library/Gentoo --sysconfdir=/ |
21 |
> Users/wilson/Library/Gentoo/etc |
22 |
|
23 |
but this bash still sourced /etc/profile. The configure script |
24 |
documents the --sysconfdir option |
25 |
|
26 |
> $ ./configure --help|grep sysconf |
27 |
> --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
28 |
|
29 |
I don't understand why this option has no effect (or why the prefix |
30 |
option doesn't do the same as is implied by the [PREFIX/etc]. |
31 |
|
32 |
Aaron |
33 |
|
34 |
-- |
35 |
gentoo-alt@g.o mailing list |