This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: How to make persistent changes to PATH in cygwin?
- From: Andrey Repin <anrdaemon at freemail dot ru>
- To: Aaron Schneider <notstop2 at users dot sourceforge dot net>, cygwin at cygwin dot com
- Date: Fri, 4 Jan 2013 07:20:22 +0400
- Subject: Re: How to make persistent changes to PATH in cygwin?
- References: <BLU0-SMTP361C219C76F9B12A644D34CE220@phx.gbl>
- Reply-to: Andrey Repin <cygwin at cygwin dot com>
Greetings, Aaron Schneider!
> I've tried this:
> export PATH=`echo $PATH`:/newdir/
PATH=$PATH:/newdir
export PATH
> And PATH contains the new dir, but after closing and reopening mintty
> (with cygserver stopped) changes are lost.
> How to solve that?
Either, change windows environment, from which Cygwin $PATH inherited, or make
adjustments to Cygwin startup scripts.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 04.01.2013, <07:18>
Sorry for my terrible english...
--
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