This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: .bashrc file not run

On Fri, February 12, 2010 9:51 am, Neil Blue wrote:
> I created the ~/.profile in response to the email from Csaba Raduly. the
> bash man page does say it will look for ~/.profile as well.

It does, but you can't expect default behaviour from a non default file! ;)

> The setup program creates some terminal links like:
> C:\cygwin\bin\run.exe /usr/bin/rxvt.exe -display -tn
> rxvt-cygwin -e /bin/bash --login
> I just removed the --login option to preserve the results of ~/.bashrc,
> but then need to set up things like my prompt again as I loose the other
> automatic settings.
> This was a new cygwin install, downloaded a couple of days ago.
> I was trying to copy the skel/.bash_profile and got this:
> $ cp /etc/skel/.bash_profile ~/
> cp: not writing through dangling symlink `/home/blueneil/.bash_profile'

I've no idea why you got that - somebody with more knowledge than I should
be able to help...

> but
> cat /etc/skel/.bash_profile > ~/.bash_profile
> all works as expected and calls ~/.bashrc

So... all working now?


Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]