delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/10/25/09:46:46

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT 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 AT mail DOT gmail DOT com>
Mime-Version: 1.0
User-Agent: Thunderbird 1.5.0.7 (Windows/20060909)
In-Reply-To: <93f080740610250102u5dd6fbaan31387636b97c1a88@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019