This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Why doesn't bash read my .bashrc file on startup?
- To: David Starks-Browning <starksb at ebi dot ac dot uk>, cygwin at sources dot redhat dot com
- Subject: Re: Why doesn't bash read my .bashrc file on startup?
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 16 Nov 2000 11:19:14 -0800 (PST)
--- David Starks-Browning <starksb@ebi.ac.uk> wrote:
> This is an old FAQ entry:
>
> Q. Why doesn't bash read my .bashrc file on startup?
>
> A. Your .bashrc is read from your home directory specified by the HOME
> environment variable. It uses /.bashrc if HOME is not set. So you
> need to set HOME correctly, or move your .bashrc to the top of the
> drive mounted as / in Cygwin.
>
> Now that HOME is set in a default setup, this shouldn't come up,
> right? At least not "frequently".
>
> I think the FAQ is too big (and it will get even bigger soon), and I
> suspect it's difficult to find what you're looking for, so I'm
> inclined to prune it wherever possible.
>
> Thanks for any advice/opinions on the matter.
>
It's still possible to not have HOME set if someone issues the bash command
without going through cygwin.bat or modifying cygwin.bat so that --login isn't
issued with the command line.
Perhaps a current FAQ and a historical FAQ needs to be created.
Cheers,
=====
Earnie Boyd
mailto:earnie_boyd@yahoo.com
--- <http://earniesystems.safeshopper.com> ---
--- Cygwin: POSIX on Windows <http://gw32.freeyellow.com/> ---
--- Minimalist GNU for Windows <http://www.mingw.org/> ---
__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com