X-Spam-Check-By: sourceware.org Date: Tue, 18 Apr 2006 13:42:42 -0400 (EDT) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: =?UTF-8?B?TWF0ZXVzeiDFgW9za290?= cc: cygwin AT cygwin DOT com Subject: Re: Small fix to Cygwin FAQ In-Reply-To: <4445200E.7000606@loskot.net> Message-ID: References: <4445200E DOT 7000606 AT loskot DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 On Tue, 18 Apr 2006, Mateusz oskot wrote: > I'm Mateusz, a new user of Cygwin. > [snip] > I tested this note and I noticed that .bashrc is not loaded when > launching cygwin.bat or bash --login -i command. Well, no, it isn't. However, ~/.bash_profile is, and it should have been added by the default installation script. And the default ~/.bash_profile reads ~/.bashrc, so you get the same functionality whether you are in a login shell or not. The only reason the default scripts won't create a ~/.bash_profile is if one was already present in your home directory. If so, you may want to look at /etc/skel/.bash_profile and merge its content with whatever custom ~/.bash_profile you have. > When I renamed this file to ~/.profile then it loads properly and all > customizations are loaded. Yes, but now subshells (which are not login shells) will not have these customizations. > I suppose there were some change between Cygwin releases but the FAQ has > not been updated. No, there was no related change in Cygwin. > BTW, should I send output from cygcheck -s -v -r command? Yes, it's always a good idea when reporting problems with your installation. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/