Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 18 Feb 2005 10:36:07 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "J. David Boyd" cc: cygwin AT cygwin DOT com Subject: Re: .bashrc not working (and yes I've read the FAQ etc as you'll see) In-Reply-To: <81vf8pew3m.fsf@adboyd.com> Message-ID: References: <81vf8pew3m DOT fsf AT adboyd DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 18 Feb 2005, J. David Boyd wrote: > "Steve Mayes" 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". 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/