delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/18/10:19:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: dave AT adboyd DOT com (J. David Boyd)
Subject: Re: .bashrc not working (and yes I've read the FAQ etc as you'll see)
Date: 18 Feb 2005 10:17:17 -0500
Lines: 31
Message-ID: <81vf8pew3m.fsf@adboyd.com>
References: <A88431D237D50D45A91A852D9FD861910A04EA AT adhr-exch01 DOT ucles DOT internal>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: wbar5.tampa1-4-11-125-246.dsl-verizon.net
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner-SpamScore: ss
X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org
X-MailScanner-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

"Steve Mayes" <mayes DOT s AT UCLES DOT org DOT uk> writes:

> Hi,
> 
> Forgive the defensive addendum but I've no wish to be either flamed or
> ignored when I've tried available pathways to solving this.
> 
> Situation:
> 
> .bashrc not working and yes my $home variable is correctly defined but I
> put a copy of .bashrc into / anyway just in case.
> The --login and -i switches are used.
> I even used the --rcfile switch and pointed it directly to my .bashrc
> file at which point cygwin just bombs out.
> 
> .bashrc file contains only the line
> 
> Alias ls='ls -al --color=auto'
> 
> I even made .bashrc executable using the command chmod +x (just in case)
> but this changed none of the behaviour.   What am I missing.
> 
> Steve

I remember having some problem like this.  To get around it (I am the only
user on this machine), I added the line

. $HOME/.bashrc

to the very end of /etc/profile.  It's probably not the 'right' way to do it,
but who cares.  It works fine.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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