delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/12/11:38:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D56B76E.7010101@cs.umass.edu>
Date: Sat, 12 Feb 2011 11:38:06 -0500
From: Eliot Moss <moss AT cs DOT umass DOT edu>
Reply-To: moss AT cs DOT umass DOT edu
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.7: bash --login does not read my ~/.profile
References: <AANLkTi=ri_XVq9Bu_jT5WGTZntCBa9=0mkyXU0sc-MHf AT mail DOT gmail DOT com>
In-Reply-To: <AANLkTi=ri_XVq9Bu_jT5WGTZntCBa9=0mkyXU0sc-MHf@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

On 2/12/2011 11:27 AM, Paul Cantalupo wrote:
> Hello,
>
> Recently I installed Cygwin on an XP computer at home. But when I
> execute Cygwin.bat (contents below), the bash shell does not read my
> ~/.profile (contents below).

Do you have either ~/.bash_profile or ~/.bash_login in existence?
bash reads the *first* one only of .bash_profile, .bash_login, and
.profile that it finds, and it searches in the order I listed them.

Regards -- Eliot Moss

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019