X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0	tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_TX
X-Spam-Check-By: sourceware.org
From: Kevin Layer <layer@known.net>
To: cygwin@cygwin.com
Subject: Re: startxwin started bash does not read .bashrc or .bash_profile
In-reply-to: <CA+sc5mmn54WHcMp4Ycz7Lw8z9qe6aSvZ6GjU7JNo3fTcCxHg3w@mail.gmail.com>
References: <15470.1361923720@relay.known.net> <512E489F.8060700@dronecode.org.uk> <6514.1361987973@freon.franz.com> <1977176204.20130227233752@mtu-net.ru> <13227.1361996106@freon.franz.com> <CA+sc5mmn54WHcMp4Ycz7Lw8z9qe6aSvZ6GjU7JNo3fTcCxHg3w@mail.gmail.com>
Comments: In-reply-to Earnie Boyd <earnie@users.sourceforge.net>   message dated "Wed, 27 Feb 2013 16:17:42 -0500."
Date: Wed, 27 Feb 2013 14:16:42 -0800
Message-ID: <28423.1362003402@relay.known.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Earnie Boyd wrote:

>> On Wed, Feb 27, 2013 at 3:15 PM, Kevin Layer wrote:
>> > That was one of the experiments I did, and I saw no evidence that any
>> > commands were executed.  I even passed it as the argument to the
>> > invocation.
>> >
>> > As for the assumption, I understand that an error could have
>> > short-circuited the processing of my init file, but in the bash's that
>> > haven't read it,
>> >
>> >    . .bashrc
>> >
>> > produces no errors *and* has my aliases and new prompt.
>> 
>> $HOME/.bashrc isn't always read.  It depends on how bash is executed.
>> If this is a --login you need $HOME/.bash_profile that sources
>> $HOME/.bashrc.

Did you read the original report and all the replies in the chain?

   ...it requires my .bashrc to be sourced (.bash_profile merely sources
   .bashrc).


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

