This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: 1.7.7: Open BASH Shell Here goes to wrong location


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]