X-Recipient: archive-cygwin AT delorie DOT 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 DOT 4060309 AT verizon DOT net> <20110206191619 DOT GA6839 AT jethro DOT local DOT lan> <4D4F07FE DOT 4040902 AT verizon DOT net> Date: Mon, 7 Feb 2011 00:28:37 +0100 Message-ID: Subject: Re: 1.7.7: PATH in Bash shells From: Csaba Raduly To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 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