X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Andrew DeFaria <Andrew@DeFaria.com>
Subject:  Re: Running a command on cygwin launch
Date:  Wed, 25 Oct 2006 08:44:44 -0500
Lines: 13
Message-ID: <ehnpod$mh5$1@sea.gmane.org>
References:  <93f080740610250102u5dd6fbaan31387636b97c1a88@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding:  7bit
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <93f080740610250102u5dd6fbaan31387636b97c1a88@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
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

Ben LeBar wrote:
> Disregard my previous email - I figured out that i needed 
> .bash_profile in my home directory instead of .bashrc
Actually you typed .batchrc not .bashrc, which would explain it. 
.bash_profile get's executed when you "login" whereas .bashrc get's 
executed when you start bash. So, for example, you can start bash and 
.bash_profile will execute as will .bashrc. Then you can start another 
bash which will run only .bashrc.

-- 

Andrew DeFaria <http://defaria.com>
Ask not for whom the bell tolls. Let the machine get it.


--
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/

