delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/18/05:06:04

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-Authentication-Warning: laud.it.uc3m.es: marcos owned process doing -bs
Date: Wed, 18 Sep 2002 11:05:50 +0200 (CEST)
From: Marcos Lorenzo de Santiago <marcos AT it DOT uc3m DOT es>
To: Frantisek Dufka <dufkaf AT seznam DOT cz>
Cc: cygwin AT cygwin DOT com
Subject: Re: Open bash at the current explorer directory?
In-Reply-To: <3D883F84.6060608@seznam.cz>
Message-ID: <Pine.LNX.4.44.0209181104150.30567-100000@laud.it.uc3m.es>
MIME-Version: 1.0
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id g8I963w13931

     > 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.

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 <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
     >
     >



__________________________________________________________

Equipo Técnico de Laboratorios:
Gregorio Corral Torres
Esteban García Cuesta
Marcos Lorenzo de Santiago
Iván Alonso Gutiérrez
__________________________________________________________

Departamento de Ingeniería Telemática
Edificio Torres Quevedo 4.1A01 Tfno:91-624-8757
Escuela Politécnica Superior
Universidad Carlos III Av.Universidad 30 Leganés (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/

- Raw text -


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