X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RP_MATCHES_RCVD,TW_TX X-Spam-Check-By: sourceware.org From: Kevin Layer To: cygwin AT cygwin DOT com Subject: Re: startxwin started bash does not read .bashrc or .bash_profile In-reply-to: References: <15470 DOT 1361923720 AT relay DOT known DOT net> <512D7040 DOT 7080905 AT gmail DOT com> <26949 DOT 1361935259 AT relay DOT known DOT net> Comments: In-reply-to Robert Pendell message dated "Wed, 27 Feb 2013 10:36:38 -0500." Date: Wed, 27 Feb 2013 07:49:50 -0800 Message-ID: <6062.1361980190@relay.known.net> 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 Robert Pendell wrote: >> Commonly .bash_profile does source in .bashrc so that it gets executed too. Exactly what mine does. I just want to be clear: I have not been able to get bash to source *anything* when started from startxwin.exe. I've done hours of experimentation and done many variations on how bash is started (from mintty, xterm, urxvt, ...) and I've not found a single working case. I've passed --init-file and --rcfile explicity. I've strace'd the startup of bash and only ever saw it open .bash_history. No touches to the init files. (I don't know how good strace is on cygwin, so this might not be definitive.) Can anyone else get their init file(s) loaded?? This seems like a serious bug. Btw, I set HOME in Windows to c:\cygwin\home\layer and not c:\Users\layer\. *BUT*, I have put in place dummy .bash_profile and .bashrc files that echo something and I've not seen that trigger during testing. -- 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