Re: Xterm not reading dotfiles
Re: Xterm not reading dotfiles
- Subject: Re: Xterm not reading dotfiles
- From: Merton Campbell Crockett <email@hidden>
- Date: Sun, 18 Nov 2007 08:03:14 -0800
On 18 Nov 2007, at 07:29:05, Andrew J. Hesford wrote:
Funny you should mention this. I don't ordinarily use bash, but I do
use the LaTeXiT program, which tends to hang in Leopard when it
attempts to compile code. After some poking around, I discovered
that it was compiling the code by execing a bash login shell to run
the commands it needed. This was the culprit.
For some reason, when bash is invoked in this manner, it calls the
path_helper script, which locks everything up. If you remove the
call to path_helper in /etc/profile, and set your path manually, you
might find that bash --login does not freeze.
Interesting. During the past week, I noticed that /bin/sh invoked /
bin/bash. This resulted in /etc/bashrc, ~/.bash_profile, and /etc/
profile being read and used but not ~/.profile.
As relatively few people other than myself use the system, I moved my
$PATH modifications to /etc/profile. Even here I encountered a
problem with my "export PATH" statement: It wouldn't include all of
the elements in the path if the $PATH element wasn't the last element
in the new PATH.
Merton Campbell Crockett
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden