This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: 1.7.7: Open BASH Shell Here goes to wrong location
- From: "Roe, Kevin L." <roe2 at llnl dot gov>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Wed, 1 Dec 2010 15:24:06 -0800
- Subject: RE: 1.7.7: Open BASH Shell Here goes to wrong location
- References: <C742AC34C772EC4BAAF642C22E6079D301376F8E885C@NSPEXMBX-A.the-lab.llnl.gov> <AANLkTim4fYXaAdE3cGtdcYe-3tegWpvpmzbQs4X6vUcU@mail.gmail.com>
>
> 'mintty -' invokes your shell as a login shell. The default
> /etc/profile will cd to your home directory, but presumably you've
> changed that, as that's not what you're seeing. Hence you'll end up in
> whatever directory Explorer decided to start mintty, so it seems
> Explorer doesn't necessarily set the current directory to the one
> you're looking at. Apparently that could be due to a shell extension,
> according to this:
>
> http://blogs.msdn.com/b/oldnewthing/archive/2010/11/09/10087919.aspx
[Roe, Kevin L.]
Thanks! I guess that explains it. Still strange, but it doesn't really matter. I was just curious.
>
> > Any ideas?
>
> As Matt said: use 'chere'. That's what it's for.
[Roe, Kevin L.]
Hmmm... As I explained, I already was, but thanks for the advice.
>
> Andy
>
> --