X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Message-ID: <524328.20503.qm@web34505.mail.mud.yahoo.com> References: <244882 DOT 68384 DOT qm AT web34508 DOT mail DOT mud DOT yahoo DOT com> <4B741CEB DOT 6070706 AT towo DOT net> <1ef5a52f1002110730v4325a8a0qd8e371019530a5da AT mail DOT gmail DOT com> <490452 DOT 20994 DOT qm AT web34508 DOT mail DOT mud DOT yahoo DOT com> <683244 DOT 21792 DOT qm AT web34501 DOT mail DOT mud DOT yahoo DOT com> <21bd2922656357a6867cb90a515cf7fe DOT squirrel AT mail DOT morrison DOT mine DOT nu> <65858 DOT 63922 DOT qm AT web34502 DOT mail DOT mud DOT yahoo DOT com> Date: Fri, 12 Feb 2010 03:02:50 -0800 (PST) From: Neil Blue Reply-To: Neil Blue Subject: Re: .bashrc file not run To: John Morrison , cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Yes it is all working now, as long as I don't use --login for bash. I guess the failure to copy the skel/.bash_profile may have been the root of the problem. Neil ----- Original Message ---- From: John Morrison To: cygwin AT cygwin DOT com Sent: Fri, February 12, 2010 9:58:04 AM Subject: 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 127.0.0.1:0 -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? J. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple