Re: Open bash at the current explorer directory?

2002-09-18 Thread Frantisek Dufka
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"

Re: Open bash at the current explorer directory?

2002-09-18 Thread Frantisek Dufka
use it gets forgotten by the exec'ed shell. If you add -l (exec -l bash) it is executed twice. In my case it tells me two fortune cookies instead of one. That's nice, but they may run out quickly :) Frantisek - Original Message - From: "Marcos Lorenzo de Santiago" <[E

Re: Open bash at the current explorer directory?

2002-09-18 Thread Frantisek Dufka
EY_CLASSES_ROOT\Drive\shell\rxvtHere] > @="r&xvtHere" > > [HKEY_CLASSES_ROOT\Drive\shell\rxvtHere\command] > @="C:\\CYGWIN\\BIN\\rxvt.exe -sr -ut -tn rxvt -bg black -fg grey -fn > \"Courier-16\" -sl 2000 -e /usr/bin/bash --login -i -c \"cd '%1'