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: .bashrc file not run



Thorsten Kampe a écrit :
* John Morrison (Fri, 12 Feb 2010 09:17:15 -0000)
Thanks for that clarification; should I change the base-files?  Or create
~/.profile as a copy/link? to ~/.bash_profile?

There is no need for a ~/.profile. Only keep ~/.bash_profile

IMHO, .bash_profile is a piece of crap for a long time now... since bash knows to load .profile if .bash_profile doesn't exist, it should be named .profile. this greatly simplify the account's setup. this week, I've again encounter an account which have change his default shell to ksh (or even sh) and which have the wrong profile loaded (well, no profile at all, in fact). it's far more simple ti check for $BASH_VERSION to known if you are running bash or something else than to use a different profile.

Regards,

Cyrille Lefevre
--
mailto:Cyrille.Lefevre-lists@laposte.net



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