delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.9 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 franz DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: startxwin started bash does not read .bashrc or .bash_profile |
In-reply-to: | <1977176204.20130227233752@mtu-net.ru> |
References: | <15470 DOT 1361923720 AT relay DOT known DOT net> <512E489F DOT 8060700 AT dronecode DOT org DOT uk> <6514 DOT 1361987973 AT freon DOT franz DOT com> <1977176204 DOT 20130227233752 AT mtu-net DOT ru> |
Comments: | In-reply-to Andrey Repin <anrdaemon AT freemail DOT ru> message dated "Wed, 27 Feb 2013 23:37:52 +0400." |
Date: | Wed, 27 Feb 2013 12:15:06 -0800 |
Message-ID: | <13227.1361996106@freon.franz.com> |
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 |
Andrey Repin wrote: >> Greetings, Kevin Layer! >> >> > I know ~/.bashrc hasn't been read because my prompt is not changed and >> > my aliases are not there. >> >> That's just assumption. Not the first-hand knowledge. It may be true, or >> not... Best way to know is to place >> set -x >> around the start of the file and observe the results. That was one of the experiments I did, and I saw no evidence that any commands were executed. I even passed it as the argument to the invocation. As for the assumption, I understand that an error could have short-circuited the processing of my init file, but in the bash's that haven't read it, . .bashrc produces no errors *and* has my aliases and new prompt. Kevin -- 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 |