delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/03/10:51:06

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-Id: <5.1.0.14.0.20020403104228.00a9c1d8@tbri.com>
X-Sender: brust AT tbri DOT com
Date: Wed, 03 Apr 2002 10:50:38 -0500
To: cygwin AT cygwin DOT com
From: Richard Brust <brust AT tbri DOT com>
Subject: v1.3.10 - must run bash twice to read .bashrc
Mime-Version: 1.0

I have looked all through the list archives and on google groups, but this 
problem does not seem to be listed.

I am running Windows 2000, logging in to an NT domain (not sure if any of 
this matters).  When I run the Cygwin shortcut, it logs in OK, but does not 
run the .bashrc (I have a few aliases, that's how I can tell).  I need to 
run "bash" again to get it to load .bashrc.

Then, when I log out, I need to logout twice, to get rid of both shells.

BTW, the $HOME is /home/Administrator, not /home/myloginname, which does 
not seem to be an issue, as this is the way is was on other 
machines.  Additionally, when I do run the "bash" command the second time, 
the $HOME is still the same.

I have run/am running Cygwin on NT4, and W98 machines, none of which have 
had this problem.

The /etc/shells file:
/bin/sh
/bin/bash
/bin/tcsh
/usr/bin/sh
/usr/bin/bash
/usr/bin/tcsh

The cygwin.bat file:
@echo off

C:
chdir \cygwin\bin #note: I have also tried this with c:\cygwin\bin
bash --login -i



Richard Brust
IT Manager
Technology Business Research
Hampton, NH. USA


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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