This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to make persistent changes to PATH in cygwin?


On 1/2/2013 10:45 AM, Aaron Schneider wrote:
On 02/01/2013 19:35, Eliot Moss wrote:
Every time you open up mintty you are starting a new login bash.
The way to set environment variables "persistently" (your term,
not mine) is to add the export command to your .bash_profile or
similar bash file read by bash when it starts up.  This is not
specific to cygwin, but is normal Unix-like behavior.

I've workarounded it adding the desired path to windows' path directly, which is imported into cygwin each time mintty is started.


That's not really a good solution. Take a moment to read the bash(1) man page and familiarize yourself with it's startup capabilities. Take control of your own environment.
--
Andrew DeFaria <http://defaria.com>
This space for rent



-- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]