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?


Why are invoking 'echo' and not just simply
PATH=$PATH:/newdir      ? Which is faster & take less resources..    I

On Wed, Jan 2, 2013 at 10:32 AM, Aaron Schneider
<notstop2@users.sourceforge.net> wrote:
> I've tried this:
>
> export PATH=`echo $PATH`:/newdir/
>
> And PATH contains the new dir, but after closing and reopening mintty (with
> cygserver stopped) changes are lost.
>
> How to solve that?
>
> --
> 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
>

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