This is the mail archive of the cygwin@sources.redhat.com 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]

RE: "The PATH problem"


Hi Soren,

>Cygwin doesn't allow modification or unset on the PATH variable after 
>login, so it has to be set right from 'Doze before bash gets fired up, no? 

Who has told you that? This is simply not true, but it depends on the shell
you're using.

sh (or ash):

PATH=/usr/local/bin:/bin
export PATH


bash or korn shell (ksh):

export PATH=/usr/local/bin:/bin


c shell (csh) and derivates (tcsh):

set path=(/usr/local/bin /bin)



Jorg

--
Want to unsubscribe from this list?
Check out: 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]