delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/04/12/17:26:23

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <200204121724140614.039ADB14@mail.tranceambient.com>
In-Reply-To: <200204121713140726.0390C963@mail.tranceambient.com>
References: <019201c1e1cf$7026dec0$52b4fc3e AT nori>
<3CB70C91 DOT 204 AT DeFaria DOT com>
<200204121713140726 DOT 0390C963 AT mail DOT tranceambient DOT com>
Date: Fri, 12 Apr 2002 17:24:14 -0400
From: "Adam" <cygwin AT tranceambient DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bash shell extension ?
X-MDRemoteIP: 24.156.188.197
X-Return-Path: cygwin AT tranceambient DOT com
X-MDaemon-Deliver-To: cygwin AT cygwin DOT com

Ignore this, Sam already sent a .reg file to the list that works perfectly :)
-Adam

*********** REPLY SEPARATOR  ***********

On 4/12/2002 at 5:13 PM Adam wrote:

>Thanks for the tips Andrew .. 
>The one thing I have yet to figure out is a way to prevent the long folder
>names from being truncated (eg, Progra~1) .. Any ideas on this?
>-Adam
>
>*********** REPLY SEPARATOR  ***********
>
>On 4/12/2002 at 9:34 AM Andrew DeFaria wrote:
>
>>Sam Edge wrote:
>>
>>> [HKEY_CLASSES_ROOT\Directory\shell\BashHere]
>>> @="&Bash Prompt Here"
>>> [HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
>>> @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere]
>>> @="&Bash Prompt Here"
>>> [HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
>>> @="c:\\cygwin\\bin\\bash.exe -c \"cd '%1' ; exec /bin/bash\""
>>
>>Personally I'm fond of "Bash this!" instead of "Bash Prompt Here" :-) !
>>
>>Also, the above does not handle the issue of the user's startup scripts. 
>>Here's what I have:
>>
>>HKEY_CLASSES_ROOT\Directory\shell\BashHere]
>>@="B&ash this!"
>>[HKEY_CLASSES_ROOT\Directory\shell\BashHere\command]
>>@="rxvt -e bash -c \"cd '%1';exec bash -rcfile ~/.bash_login\""
>>[HKEY_CLASSES_ROOT\Drive\shell\BashHere]
>>@="B&ash this!"
>>[HKEY_CLASSES_ROOT\Drive\shell\BashHere\command]
>>@="rxvt -e bash -c \"cd '%1';exec bash -rcfile ~/.bash_login\""
>>
>>Note if you do not wish to use rxvt then simply remove the "rxvt -e " 
>>portion. This also makes the assumption that Cygwin's bin is in your 
>>Windows System Environment variable PATH (which is should be, especially 
>>if you use inetd) and that you've appropriately named your bash startup 
>>stuff .bash
>>
>>
>>
>>
>>--
>>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>>Bug reporting:         http://cygwin.com/bugs.html
>>Documentation:         http://cygwin.com/docs.html
>>FAQ:                   http://cygwin.com/faq/
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Bug reporting:         http://cygwin.com/bugs.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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