This is the mail archive of the
mailing list for the Cygwin project.
Re: .bashrc not working (and yes I've read the FAQ etc as you'll see)
On Fri, 18 Feb 2005, J. David Boyd wrote:
> "Steve Mayes" <mayes.s@XXXXX.XXX.XX> writes:
> > .bashrc not working
> > [snip]
> > The --login and -i switches are used.
Stare at these two lines for a moment, and then read the "INVOCATION"
section of the bash manpage.
> > I even used the --rcfile switch and pointed it directly to my .bashrc
> > file at which point cygwin just bombs out.
What does "bombs out" mean, exactly?
> > I even made .bashrc executable using the command chmod +x (just in case)
> > but this changed none of the behaviour. What am I missing.
The "INVOCATION" section of the bash manpage.
> I remember having some problem like this. To get around it (I am the only
> user on this machine), I added the line
> . $HOME/.bashrc
> to the very end of /etc/profile. It's probably not the 'right' way to do it,
> but who cares. It works fine.
Well, the "official" way of doing this is to delete your ~/.bash_profile
and reinstall the "base-files" package (or simply "cp -p
/etc/defaults/etc/skel/.bash_profile ~"). Alternatively, you can simply
"ln -s ~/.bashrc ~/.bash_profile".
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html