Mail Archives: cygwin/2005/02/18/10:36:21
On Fri, 18 Feb 2005, J. David Boyd wrote:
> "Steve Mayes" <mayes DOT s AT XXXXX DOT XXX DOT XX> writes:
<http://cygwin.com/acronyms/#PCYMTNQREAIYR>
> > .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".
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -