delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/02/11/09:55:55

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <244882.68384.qm@web34508.mail.mud.yahoo.com>
Date: Thu, 11 Feb 2010 06:55:35 -0800 (PST)
From: Neil Blue <neilblue AT yahoo DOT com>
Reply-To: Neil Blue <neilblue AT yahoo DOT com>
Subject: .bashrc file not run
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
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,

This problem has me stumped. 

I have windows XP and cygwin with bash version 3.2.49(23)-release.

I have set my passwd file to include my home directory /home/blueneil.
I have placed .bashrc in my home directory and made it executable.
I have placed .bashrc_profile in my home directory and made it executable, with content:
export HOME=/home/blueneil

When I login, the environment settings I put in .bashrc don't get run.
If I source ~/.bashrc they are included as expected.

Also I have added some configuration to /etc/bash.bashrc it does not get run.

If I 'su blueneil' into my own account ~/.bashrc is executed.
If I 'ssh localhost' ~/.bashrc is not executed.

The only odd configuration I think I have is that the default windows directory is a mapped network drive, but the configuration in /etc/password should fix this as far as I understand?

Does anyone have any suggestions please as to where or how to start looking into this.

Thanks
Neil



      

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