X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0	tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4D4F07FE.4040902@verizon.net>
References: <4D4EE981.4060309@verizon.net>	<20110206191619.GA6839@jethro.local.lan>	<4D4F07FE.4040902@verizon.net>
Date: Mon, 7 Feb 2011 00:28:37 +0100
Message-ID: <AANLkTimk_A3geNsNzPfSUbG2LAap3TMbo-W1AgjLMvM7@mail.gmail.com>
Subject: Re: 1.7.7: PATH in Bash shells
From: Csaba Raduly <rcsaba@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
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

Hi Gerry

On Sun, Feb 6, 2011 at 9:43 PM, Gerry Reno  wrote:
> David, thanks for the response. =A0 I put my responses inline...
>
> On 02/06/2011 02:16 PM, David Sastre wrote:
>> On Sun, Feb 06, 2011 at 01:33:37PM -0500, Gerry Reno wrote:
>>
>>> What is the proper method to set the PATH variable on a system-wide
>>> basis in Cygwin?
>>>
>>> Right now in the Cygwin Bash shell the PATH is set to:
>>>
>>> =A0 =A0 bash-4.1$ echo $PATH
>>> =A0 =A0 /cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WI=
NDOWS/System32/Wb
>>> =A0 =A0 em:/cygdrive/c/Program Files (x86)/Microsoft SQL
>>> =A0 =A0 Server/90/Tools/binn/:/usr/bin
>>>
>> First off, I'm curious about how do you start the bash shell. I ask
>> because you don't seem to have PS1 set correctly, and that should be
>> automated by startup-scripts.
>>
>
> I didn't change anything. =A0This is rather new installation of Cygwin.
>

Do you start Cygwin from cygwin.bat, or a shortcut of your own?
PS1 not being set is a symptom of the shell not being started as
interactive or login shell.
(cygwin.bat for instance starts bash --login -i)

I see you have a .bash_profile . Do you also have a .bashrc in your
home directory ?

--=20
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torv=
alds
"People disagree with me. I just ignore them." -- Linus Torvalds

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

