[X4U] problem with bash shell
Eugene
list-themacintoshguy at fsck.net
Tue Aug 2 11:49:58 PDT 2005
On Tue, Aug 02, 2005 at 12:38:17PM CDT, John Boccio <boccio at swarthmore.edu> wrote:
:
: OSX 10.4.2
:
: .bashrc
:
: and
:
: .profile
:
: files not being read (executed)
:
: when I open a terminal window or an x-term.
:
: Has something changed with 10.4..x?
Look in your Terminal prefs. Is bash started as a login shell?
If it is not, it will never read ~/.profile. If it is, make
sure that there is no ~/.bash_profile or ~/.bash_login files;
otherwise, either of those files have precedence and will be
used first and again will never read ~/.profile.
Also, if it's a login shell, bash doesn't read ~/.bashrc. If
you want it read, then add a "source ~/.bashrc" to your init
file (~/.bash_profile, ~/.bash_login, or ~/.profile).
--
Eugene
http://www.coxar.pwp.blueyonder.co.uk/
More information about the X4U
mailing list