Cygwin won’t read .bashrc?
28 September 2007
Add the following line of code to the very bottom of /etc/profile
. "$HOME/.bashrc"
This will execute the .bashrc file from your home directory.
If you are not sure where your home directory is type the following into a cygwin console:
echo $HOME
If your user folder contains a space; you may have to place the .bashrc file into the root directory and you may still have the calling line into /etc/profile.
3 April 2008 at 3:21 am
[...] by BKB on April 3rd, 2008 Today I had a problem with Cygwin failing to read .bashrc. I found a blog post about it by Pura Coding. It says Add the following line of code to the very bottom of [...]
3 April 2008 at 3:23 am
Even if the user folder contains a space, the following in /etc/profile works:
. “${HOME}/.bashrc”
16 April 2008 at 4:17 pm
Probably useful to take a look at:
http://www.cygwin.com/ml/cygwin/2005-02/msg00558.html