This is the mail archive of the
mailing list for the Cygwin project.
RE: Open bash at the current explorer directory?
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: cygwin at cygwin dot com
- Date: Fri, 13 Sep 2002 13:54:13 -0400 (EDT)
- Subject: RE: Open bash at the current explorer directory?
- Reply-to: cygwin at cygwin dot com
A small note: c:\cygwin\cygwin.bat runs "bash --login -i", which reads
/etc/profile. The default /etc/profile contains a "cd $HOME" command.
If you really want bash to open in the current directory, use "bash
--login --noprofile -i" or just "bash -i". Both of these come with
caveats, though: the former may not set up the right environment
(including the prompt), and the latter will not log you in (I'm not sure
exactly what the caveat here is -- maybe some shares will not be
accessible or something).
On Fri, 13 Sep 2002, Tim Beuman wrote:
> In Explorer:
> Tools->Folder Options
> select tab: "File Types"
> select Extensions: "N/A, File Folder" (use "N/A, Drive for setting the same
> action at drive level)
> click Advanced
> click New
> enter "Cygwin shell" or whatever you want to name it in the Action field
> enter "C:\cygwin\cygwin.bat" or something like this in the "Application used
> to perform action" field
> click OK several times till you are back in the Explorer
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com]On Behalf
> Of John Daniel Doucette
> Sent: Friday, September 13, 2002 06:24 AM
> To: firstname.lastname@example.org
> Subject: Open bash at the current explorer directory?
> 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?
> John Daniel Doucette, Sr. Software Designer
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html