delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/24/17:09:39

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: <E1B42CFD544FD31193EE0000E87C5CE799B52B@mailserver2.mqsoftware.com>
From: Glen Coakley <gcoakley AT mqsoftware DOT com>
To: Cygwin <cygwin AT cygwin DOT com>
Subject: FW: Bash Prompt Here
Date: Tue, 24 Apr 2001 16:08:30 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

I have updated my version of this to incorporate Ross Smith's .inf idea,
thus allowing it to be used on Windows <whatever>. There is also an
'install' script that will locate your cygwin root directory. 

One benefit is that this does not run bash twice like Ross' solution but to
get around that it does require changes to your .bashrc. It wraps these in
an 'if cygwin' check so that they will only be invoked if you are running
under cygwin. (I share my .bashrc with my Unix box.) The other big benefit
is that the changes are designed to insulate you from cygwin upgrades by not
modifying any of the distributed files. It works around the fact that
/etc/profile currently does a "cd $HOME". 

You are free to use, modify, or shred...

http://www.users.qwest.net/~weissj/BashPromptHere.tar.gz

________________________________
Glen Coakley, Sr. Software Engineer
MQSoftware Inc., (763) 543-4845

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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