delorie.com/archives/browse.cgi | search |
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 <layer AT known DOT net> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: startxwin started bash does not read .bashrc or .bash_profile |
In-reply-to: | <CAAeCd-MOwreUqsrwrYUT=JQwLzXrUCiMQOYqLsqF0+O0OLEc8A@mail.gmail.com> |
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> <CAAeCd-MOwreUqsrwrYUT=JQwLzXrUCiMQOYqLsqF0+O0OLEc8A AT mail DOT gmail DOT com> |
Comments: | In-reply-to Robert Pendell <shinji+cygwin AT elite-systems DOT org> 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 |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |