delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/18/15:03:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20000718135438.01e10f08@mail.prefres.com>
X-Sender: "Mminnis" <mminnis AT prefres DOT com>
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Tue, 18 Jul 2000 13:55:52 -0500
To: cygwin AT sourceware DOT cygnus DOT com
From: "Matt Minnis" <mminnis AT prefres DOT com>
Subject: Re: Where to put profile files?
In-Reply-To: <18103838989825@mail.nls.net>
Mime-Version: 1.0
X-SLUIDL: 7D1FCFCC-5CC411D4-B7190080-C813F968

Here is how I have mine setup:

[Cygwin.bat]
@ECHO OFF
SET MAKE_MODE=UNIX
SET CYGWIN=tty
SET TERM=ansi
SET HOME=/usr/fred
set PWD=/
SET PATH=d:\cygwin\bin;d:\cygwin\usr\local\bin;%PATH%
bash

[.bashrc]
HOME=/usr/fred; export HOME
TERM=ansi; export TERM
LD=ld; export LD
BISONLIB=c:/cygnus/cygwin-b20/share/; export BISONLIB
/usr/local/games/fortune
cd /
cd source
cd emu
PS1='\w >'; export PS1HOME=/usr/fred; export HOME
alias quit=exit

Make sure the .bashrc is in the HOME directory.

Hope this helps you.

Thanks,

Matt Minnis


At 11:13 AM 7/18/2000 -0700, Randall Parker wrote:


>On Tue, 18 Jul 2000 13:16:49 -0400, Larry Hall (RFK Partners, Inc) wrote:
>
> >I believe many of your questions about what bash does can be answered by
> >looking at the bash man and info pages.  Its a good place to start for
> >information concerning the configuration of bash.
>
>Larry,
>I've looked at those pages. I also have the O'Reilly book Learning The 
>Bash Shell. I've read the relevant
>passages there too. I spent many hours pounding on these problems before 
>posting here. I also have various
>Unix and Linux books that I looked in too.
>
> >As for the question of which "etc" directory will be referenced, that
> >would be /etc.
>
>Except when it doesn't work.
>
> >  If you're not sure which Windows path corresponds to /,
> >look at the output of the mount command.  It will tell you.
>
>Well, since mount reports this for device and directory:
>    j:\prg\cygwin       /
>  that leads me to believe that
>    j:\prg\cygwin\etc\profile
>  ought to be what works for me.
>
>However, I've put stuff in the profile file in that path and it didn't 
>have any effect. Copied that file to be .bashrc
>file in my HOME directory and that same alias statement then worked in 
>.bashrc.
>
>Can one not do an alias statement in profile?
>
>
>
>
>
>
>
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

Cthulhu for President. Why settle for a lesser evil?

=========================================================
Preferred Resources          (314) 567-7600 phone
701 Emerson rd.              (314) 993-6699 fax
Suite 475		       mminnis AT prefres DOT com
St. Louis, MO
63141
=========================================================


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