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: /etc/profile in BASH


> > I didn't realize that a login BASH doesn't execute ~/.bashrc.  Be that
as it
> > may, I think it should be the decision of ~/.bash_profile (or
~/.profile)
> > whether to execute ~/.bashrc -- *NOT* /etc/profile.  Putting this into
> > /etc/profile makes it too BASH-centric.  What about the [T]CSH users?
Also,
> > what about ~/.bash_login files (as described in the MAN page)?
> >
>
> IIRC [t]csh doesn't user /etc/profile.  Use the source, Luke. (tm)

But sh and ksh do.  I don't want my sh's executing .bashrc and failing on
things like alias and 'export var=..."

- Erik


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


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