delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/29/01:31:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
X-ExtScanner: Niversoft's FindAttachments (free)
Date: Mon, 29 Jun 2009 15:30:53 +1000
To: cygwin AT cygwin DOT com
Subject: .bashrc
From: "Dave Tang" <d DOT tang AT imb DOT uq DOT edu DOT au>
MIME-Version: 1.0
Message-ID: <op.uv9tlrmx8cr96e@imb09-02635.imbpc.ad>
User-Agent: Opera Mail/9.64 (Win32)
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

Hello,

I have cygwin installed on Windows XP and for some reason my .bashrc file  
isn't loaded on startup. I read the FAQ "Why doesn't bash read my .bashrc  
file on startup?" but my HOME environment variable is set up i.e. when I  
echo $HOME it is correct. I actually copied my .bashrc to the root  
directory and it still doesn't load.

Could someone explain how I can set up my .bashrc?

Many thanks,

Dave

P.S. Here's the FAQ from  
http://cygwin.com/1.7/faq/faq.using.html#faq.using.bashrc

7. Why doesn't bash read my .bashrc file on startup?
	
Your .bashrc is read from your home directory specified by the HOME  
environment variable. It uses /.bashrc if HOME is not set. So you need to  
set HOME (and the home dir in your /etc/passwd entry) correctly.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


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