On Tue, 18 Apr 2006, Mateusz oskot wrote:

> I'm Mateusz, a new user of Cygwin.
> [snip]
> I tested this note and I noticed that .bashrc is not loaded when
> launching cygwin.bat or bash --login -i command.

Well, no, it isn't.  However, ~/.bash_profile is, and it should have been
added by the default installation script.  And the default ~/.bash_profile
reads ~/.bashrc, so you get the same functionality whether you are in a
login shell or not.

The only reason the default scripts won't create a ~/.bash_profile is if
one was already present in your home directory.  If so, you may want to
look at /etc/skel/.bash_profile and merge its content with whatever custom
~/.bash_profile you have.

> When I renamed this file to ~/.profile then it loads properly and all
> customizations are loaded.

Yes, but now subshells (which are not login shells) will not have these
customizations.

> I suppose there were some change between Cygwin releases but the FAQ has
> not been updated.

No, there was no related change in Cygwin.

> BTW, should I send output from cygcheck -s -v -r command?

Yes, it's always a good idea when reporting problems with your
installation.
        Igor
-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_            [EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to