delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/31/03:49:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
>Received: from port.de (oe AT ute DOT port DOT de [194.173.33.3])
by ute.port.de (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id JAA07292
for <cygwin AT sourceware DOT cygnus DOT com>; Wed, 31 May 2000 09:47:52 +0200
Message-ID: <3934C3A8.97CEEFDF@port.de>
Date: Wed, 31 May 2000 09:47:52 +0200
From: Heinz-Juergen Oertel <oe AT port DOT de>
Organization: port GmbH Germany
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: "'Cygwin mailing list'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: cygwin
References: <39347BE1 DOT 5181F5E2 AT djh-freeweb DOT de>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id DAA20440

Dietmar Lettau wrote:
> 
> Hi,
> 
> I use cygwin with w98.
> My question: how to install a thing like "/etc/profiles" or ~/.bashrc ?
> I want automatically some aliases to be loaded at startup.
> 
> The bash uses c:\ as root (I assume: there lies the .bash_history), but
> it won't help when I place a '.bashrc' there (written with lower case).
> 
> Please excuse my bad english,
> 
> greetings
> Dietmar
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

for using these files (.profile, .bashrc) in a "home"
you must have a HOME variable set with your home-path.

mkdir /home
mkdir /home/dietmar

cp .bashrc /home/dietmar

HOME must e set before calling bash, e.g. in a startup.bat (cygnus.bat)
set HOME c:\home\dietmar


works for me with cygwin b20.1


-- 
with best regards / mit freundlichen Grüßen

   Heinz-Jürgen Oertel

===========================================
Heinz-Jürgen Oertel
port GmbH            phone +49 345 77755-0
Regensburger Str. 7c fax   +49 345 77755-20
D-06132 Halle/Saale  mailto:oe AT port DOT de
Germany              http://www.port.de
===========================================


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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