X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: setting cygwin PATH Date: Mon, 30 Apr 2007 21:40:44 +0100 Lines: 23 Message-ID: References: <1334 DOT 192 DOT 168 DOT 0 DOT 12 DOT 1177956084 DOT squirrel AT mail DOT morrison DOT mine DOT nu> <315634 DOT 52644 DOT qm AT web52004 DOT mail DOT re2 DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.70.2067 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 * Fungazid (Mon, 30 Apr 2007 12:16:54 -0700 (PDT)) > > .bashrc is run because, for a login shell, > > .bash_profile tells it to be. > > > > How are you starting cygwin? It should be enough > > for it to happen > > everytime... > > I am starting cygwin by clicking on its icon. > senenv HOME is "/home/xxxx" (xxxxx is my name account > in windows xp). > I copied the file "/etc/skel.bashrc" into my HOME, and > added the line: > export PATH=/home/T-COFFEE/bin:`printenv PATH` > This didn't change nothing. I had to add this command > from the command line to get a the new path > temporarily. > > I guess I missed something ... Yes. You missed reading mine and John's answer as well as reading the bash man page. The cygwin.bat invokes a login shell. You have to source .bashrc from .bash_profile. -- 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/