This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: bash load
That's a general bash question, not Cygwin-specific; I recommend looking here:
http://www.faqs.org/faqs/unix-faq/shell/bash/
But the short answer is that bash reads either .bashrc (non-login
shell) or .bash_profile (login shell), but not both. If you want the
stuff in your .bashrc to be loaded in a login shell, you need to
source it explicitly inside your .bash_profile via something like
this:
. "${HOME}"/.bashrc
Also make sure that the .bash files are in your actual home directory,
which is usually not /home but /home/YourUserName...
--
Mark J. Reed <markjreed@gmail.com>
--
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/