X-Spam-Check-By: sourceware.org Message-ID: <43EDD8DD.1020008@gmail.com> Date: Sat, 11 Feb 2006 12:30:21 +0000 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) MIME-Version: 1.0 To: "O. Olson" CC: cygwin Subject: Re: Another .bashrc Question References: <20060210223757 DOT 26265 DOT qmail AT web26101 DOT mail DOT ukl DOT yahoo DOT com> In-Reply-To: <20060210223757.26265.qmail@web26101.mail.ukl.yahoo.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit From: Dave 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 O. Olson wrote: > If I log in (either locally and remotely) I get the > bash prompt, but the .bashrc is not sourced. If I then > type “bash” on the command line then this file gets > sourced. `man bash` Check the Invocation chapter. A (bash) login shell is not expected to source .bashrc, although it is commonly added to either /etc/profile or ~/.bash_profile. IIRC the /etc/profile supplied by the basefiles package used to source .bashrc Other invocations do source .bashrc directly. I won't attempt to summarise the detail here. Dave. -- 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/