This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Open bash at the current explorer directory?


On Thu, 19 Sep 2002 13:01:33 -0400 (EDT) Igor Pechtchanski <pechtcha@cs.nyu.edu> wrote:

> It should be /etc/profile (note the absense of ".") and ~/.bash_profile.
> I think ~/.profile is used by ksh...

For login shells, bash will fall back to ~/.profile if ~/.bash_profile and
~/.bash_login aren't present; they shouldn't have to be specifically
mentioned.

I gleaned what I think are the best command lines from the extensive
discussion on this list about 6 months ago.  I have posted the .reg file I
use to install them at http://home.ix.netcom.com/~mchase/zip/ .  They
execute ~/.bashrc twice, but /etc/profile and ~/.bash_profile only once. 
No modification is required to any profile or rc script.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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