delorie.com/archives/browse.cgi | search |
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 |
X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
content-class: | urn:content-classes:message |
MIME-Version: | 1.0 |
Subject: | RE: Open bash at the current explorer directory? |
Date: | Wed, 25 Sep 2002 09:27:36 +0200 |
Message-ID: | <C42E3A12C85D6F43BA7D6FF7E89B053A1D9888@ant02exc.ant-it.com> |
X-MS-Has-Attach: | |
X-MS-TNEF-Correlator: | |
From: | =?iso-8859-1?Q?Gunnar_Bostr=F6m?= <Gunnar DOT Bostrom AT kiconsulting DOT se> |
To: | <cygwin AT cygwin DOT com> |
X-OriginalArrivalTime: | 25 Sep 2002 07:27:40.0548 (UTC) FILETIME=[07D21C40:01C26465] |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g8P7S7t01120 |
This works fine except that I get the windows short form of the directories in the CFH variable. I've tried filtering through cygpath but no luck. Any suggestion? :-? > -----Original Message----- > From: Frantisek Dufka [mailto:dufkaf AT seznam DOT cz] > Sent: den 18 september 2002 10:56 > To: cygwin AT cygwin DOT com > Subject: Re: Open bash at the current explorer directory? > > > I don't know how to do it without using .bashrc, but this > works for me > (current cygwin, NT 4.0) > > Registry key contains: > > D:\cygwin\bin\rxvt.exe -sb -sr -sl 16384 -fn fixedsys -fg > gray -bg black > -e /bin/env CFH="%1" /bin/bash --login > > .bashrc contains > > if [ "$CFH" != "" ] ; then > cd "$CFH" > unset CFH > fi > > No temporary files, bash.exe or .bash_profile is not executed twice. > Also looks like cygpath -u is not needed, DOS paths seem to > work in cd > command. > > Frantisek > > ------------------------------------- > * John Daniel Doucette <john DOT doucette AT jjmackay DOT ca> [13-09-02 15:23]: > > I am using Win2000 Pro, SP3. Is there a way to invoke an > interactive bash > > shell at a particular directory, without using a .bashrc > or similar > file? > > I.e. on the command lie alone? The --login and -c options > appear to be > > mutually exclusive. I would like to be able browse quickly to a > directory > > with explorer, option/right click on the directory, then > select a custom > > "open with cygwin" option, and have the bash shell open at that > > directory. Has anyone tried this? > > Read this from the archive. > http://www.cygwin.com/ml/cygwin/2002-05/msg01648.html > > HTH > Jens > > -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |