Re: Cygwin.bat doesn't save original directory in OLDPWD after login

2008-08-17 Thread Christopher Faylor
On Sun, Aug 17, 2008 at 04:50:10PM +0400, Andry wrote: >If run cygwin from cmd.exe from random directory, for example, from >"c:\blablabla", then after login OLDPWD would be "/usr/bin" instead >original directory. So command cd "$OLDPWD" just after login restores >wrong directory. This is because

Cygwin.bat doesn't save original directory in OLDPWD after login

2008-08-17 Thread Andry
Hello cygwin, If run cygwin from cmd.exe from random directory, for example, from "c:\blablabla", then after login OLDPWD would be "/usr/bin" instead original directory. So command cd "$OLDPWD" just after login restores wrong directory. This is because batch file has been wroten incorrec