delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/21/14:54:28

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: <E1B42CFD544FD31193EE0000E87C5CE7E07ED3@mailserver2.mqsoftware.com>
From: Glen Coakley <gcoakley AT mqsoftware DOT com>
To: "'cygwin AT cygwin DOT com'" <cygwin AT cygwin DOT com>
Subject: Re: Bash Prompt Here utility idea...
Date: Thu, 21 Jun 2001 10:47:18 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

You could have save some work... 
This should work for Win9x and NT4/2K but I only tested 2K.

If Robert wants to add this to the FAQ. The link in the forwarded message is
the current direct link but the proper entry point will continue to be off
of http://www.glencoakley.org. Maybe next year I'll get a proper site up.

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


-----Original Message-----
From: Glen Coakley [mailto:gcoakley AT mqsoftware DOT com]
Sent: Monday, April 23, 2001 3:44 PM
To: 'cygwin-patches AT cygwin DOT com'
Subject: FW: Bash Prompt Here?



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. It does require changes
to 
your .bashrc but it wraps them 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 changes are also designed to insulate you from cygwin upgrades by not 
modifying any of the distributed files nor making any assumptions about them

except for the existence of certain tools (regtool, cygpath, cut, cat, grep,
sed 
and, of course bash).

This latest version also changes the window title to something reasonable
and adds a batch file (cw.bat - Cygwin Window) to start a new bash prompt in
the current directory.

http://www.users.qwest.net/~weissj/Cygwin/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