This is the mail archive of the
mailing list for the Cygwin XFree86 project.
RE: Path problem with xterm
> From: email@example.com [mailto:cygwin-xfree-
> firstname.lastname@example.org] On Behalf Of John Emmas
> Sent: Monday, September 28, 2009 4:43 AM
> From: "Mike Ayers"
> > If you set PATH absolutely in .bash_profile, the right thing will
> > You may want to copy the initial value of PATH into another exported
> > var, so that you can see if there have been changes to the default
> Hi Mike. If I can find some time this week, I'm tempted to give this a
> but I don't quite understand how it would work. Are you saying that an
> absolute path in .bash_profile will somehow override the other paths?
> that it will somehow prevent the various other scripts from adding
> their own
> entries? Or will I still have to track down all those other files and
> them anyway?
Note that we are discarding the old value of PATH. Now, when the ancillary login scripts run and add their bits to PATH, those bits will only be there once. So we completely rebuild PATH on a login shell, and change nothing on a non-login shell.