From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17981 invoked by alias); 18 Sep 2002 09:05:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 17973 invoked from network); 18 Sep 2002 09:05:53 -0000 Received: from unknown (HELO smtp.uc3m.es) (163.117.136.123) by sources.redhat.com with SMTP; 18 Sep 2002 09:05:53 -0000 Received: from smtp03.uc3m.es (localhost [127.0.0.1]) by smtp.uc3m.es (Postfix) with ESMTP id 220A0431E2; Wed, 18 Sep 2002 10:05:54 +0200 (CEST) Received: from arpa.it.uc3m.es (arpa.it.uc3m.es [163.117.139.120]) by smtp03.uc3m.es (Postfix) with ESMTP id CF20D99E1B; Wed, 18 Sep 2002 10:05:53 +0200 (CEST) Received: from laud.it.uc3m.es (root@laud.it.uc3m.es [163.117.139.136]) by arpa.it.uc3m.es (8.9.3/8.9.3) with ESMTP id LAA19019; Wed, 18 Sep 2002 11:05:51 +0200 Received: from laud.it.uc3m.es (marcos@localhost [127.0.0.1]) by laud.it.uc3m.es (8.12.3/8.12.3/Debian -4) with ESMTP id g8I95p38031769; Wed, 18 Sep 2002 11:05:51 +0200 Received: from localhost (marcos@localhost) by laud.it.uc3m.es (8.12.3/8.12.3/Debian -4) with ESMTP id g8I95oWi031764; Wed, 18 Sep 2002 11:05:50 +0200 X-Authentication-Warning: laud.it.uc3m.es: marcos owned process doing -bs Date: Wed, 18 Sep 2002 02:14:00 -0000 From: Marcos Lorenzo de Santiago To: Frantisek Dufka Cc: cygwin@cygwin.com Subject: Re: Open bash at the current explorer directory? In-Reply-To: <3D883F84.6060608@seznam.cz> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-SW-Source: 2002-09/txt/msg00868.txt.bz2 > 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 b= lack > -e /bin/env CFH=3D"%1" /bin/bash --login > > .bashrc contains > > if [ "$CFH" !=3D "" ] ; 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. Not long ago someone posted a registry key to do this with right-click button option. It works quite well and you can modify the key to your own preferences (background colour, font colour, etc.). Someone posted a way to opne a explorer from current bash PWD. rgrds, m4c. > > Frantisek > > ------------------------------------- > * John Daniel Doucette [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 simil= ar > 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 > > __________________________________________________________ Equipo T=E9cnico de Laboratorios: Gregorio Corral Torres Esteban Garc=EDa Cuesta Marcos Lorenzo de Santiago Iv=E1n Alonso Guti=E9rrez __________________________________________________________ Departamento de Ingenier=EDa Telem=E1tica Edificio Torres Quevedo 4.1A01 Tfno:91-624-8757 Escuela Polit=E9cnica Superior Universidad Carlos III Av.Universidad 30 Legan=E9s (Madrid). __________________________________________________________ -- 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/