delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Thorsten Kampe <thorsten AT thorstenkampe DOT de> |
Subject: | Re: setting cygwin PATH |
Date: | Mon, 30 Apr 2007 21:40:44 +0100 |
Lines: | 23 |
Message-ID: | <f15k7m$brk$1@sea.gmane.org> |
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 |
User-Agent: | MicroPlanet-Gravity/2.70.2067 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
* 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |