X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Running a command on cygwin launch Date: Wed, 25 Oct 2006 08:44:44 -0500 Lines: 13 Message-ID: References: <93f080740610250102u5dd6fbaan31387636b97c1a88 AT mail DOT gmail DOT 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 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 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 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/