delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/03/10:46:59

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: <DC328EEA2ED4D211B35700105A9CB3B90C8FFC@flash.niaid.nih.gov>
From: Barry Buchbinder <BBUCHBINDER AT niaid DOT nih DOT gov>
To: "Cygwin (E-mail)" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re. Bash Prompt Here
Date: Tue, 3 Oct 2000 10:46:11 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)

------_=_NextPart_000_01C02D48.AC149860
Content-Type: text/plain;
	charset="iso-8859-1"

You're right!  Here's an updated BashHere.reg.  One will have to edit it to
get bash invoked the way one wants.

- Barry Buchbinder

============
You should also include "Drive" where "Directory" is below. That way, when
you right click on a drive, you can get a "Bash here" also.

I used
     f:\cyg\bin\bash.exe -i
and I had to train my .bashrc to do most of the stuff in /etc/profile to
avoid the cd $HOME issue. After that, all works as expected.

Ed

Your Windows 2000 Arborist
T/L 589-4410; Outside: 1-919-993-4410
egb AT us DOT ibm DOT com

Barry Buchbinder <BBUCHBINDER AT niaid DOT nih DOT gov>@sources.redhat.com on
10/03/2000 10:07:51 AM

Sent by:  cygwin-owner AT sources DOT redhat DOT com

To:   "Cygwin (E-mail)" <cygwin AT sourceware DOT cygnus DOT com>
Subject:  Re. Bash Prompt Here

The following works for me on Win98.  Since one doesn't logon, there is no
cd to $HOME and bash starts in whatever directory Windows tells bash it is
in.  Of course, this won't work if .bashrc has a cd command in it.

- Barry Buchbinder

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\BashHere]
@="&Bash Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
@="c:\\cygwin\\bin\\bash.exe"



------_=_NextPart_000_01C02D48.AC149860
Content-Type: application/octet-stream;
	name="BashHere.reg"
Content-Disposition: attachment;
	filename="BashHere.reg"

REGEDIT4

[HKEY_CLASSES_ROOT\Directory\shell\BashHere]
@="&Bash Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
@="c:\\cygwin\\bin\\bash.exe"

[HKEY_CLASSES_ROOT\Drive\shell\BashHere]
@="&Bash Prompt Here"

[HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
@="c:\\cygwin\\bin\\bash.exe"



------_=_NextPart_000_01C02D48.AC149860
Content-Type: text/plain; charset=us-ascii

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------_=_NextPart_000_01C02D48.AC149860--

- Raw text -


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