O. Olson wrote:
        If I log in (either locally and remotely) I get the
bash prompt, but the .bashrc is not sourced. If I then
type “bash” on the command line then this file gets
sourced.

`man bash`

Check the Invocation chapter. A (bash) login shell is not expected to source .bashrc, although it is commonly added to either /etc/profile or ~/.bash_profile. IIRC the /etc/profile supplied by the basefiles package used to source .bashrc

Other invocations do source .bashrc directly. I won't attempt to summarise the detail here.

Dave.

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