Re: x11 2.1.4 does not launch after update
Re: x11 2.1.4 does not launch after update
- Subject: Re: x11 2.1.4 does not launch after update
- From: "Mark J. Reed" <email@hidden>
- Date: Mon, 25 Feb 2008 08:46:24 -0500
On Mon, Feb 25, 2008 at 6:13 AM, Tim Cox <email@hidden> wrote:
> I had exactly the same situation you show in your system log and
> traced it back to having 'set noclobber' in my .bashrc (which I have
> soft-linked to .bash_profile in a probably futile attempt to minimize
> the number of distinct startup scripts.)
I assume you mean "set -o noclobber"? The command "set noclobber"
will just replace any command line arguments that were passed to the
shell with the word "noclobber", which might indeed cause unwanted
behavior..
Also, the .bashrc gets run for every shell; if you do all your startup
stuff in it, you don't need to have a .bash_profile at all. The idea
behind the separation is more efficiency than anything. Any setup you
do that will be inherited by a subshell (e.g. you type "bash" at the
bash prompt) can be done once in the .bash_profile, which is only
executed on login. Stuff like setting up your $PATH. You put stuff
in .bashrc that isn't inherited by subshells, like aliases and set -o
options.
The upshot is that if you only want one file, you should just use
.bashrc and delete the .bash_profile altogether. Making a symlink
just means that the same commands get executed twice.
--
Mark J. Reed <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