Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: home directory Date: Thu, 20 Jan 2005 14:10:32 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Green, Keith" To: X-OriginalArrivalTime: 20 Jan 2005 19:10:32.0352 (UTC) FILETIME=[B678BA00:01C4FF23] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j0KJAtjV000479 BTW, this is an easy enough problem to 'fix'. I just tell it to cd /home/kgreen at the end of .bashrc . That works fine. But I shouldn't have to do this. k > > BUT ... when I double click on icon (cygwin.bat), it keeps > bringing me > > up in /usr/bin. > > I've tried disabling ~/.bashrc and ~/.bash_login (just in > case). Same > > thing. > > The odd thing is that in the cygwin.bat file, regardless of > how I set it > > (with POSIX or DOS path name), when the cygwin window comes up and I > > type echo $HOME, it has the right value in it. That is, $HOME says > > /home/kgreen. > > Also, when I put a ~/.bashrc and ~/.bash_login inside > /home/kgreen, it > > uses them! So it's getting there somehow ... and then > deciding on its > > own that it would rather be in /usr/bin! > > You could try to start bash with "--login -i -v", which > should show the > commands that are executed, and possibly explain why the directory is > changed to /usr/bin. > HTH, > Igor > -- > http://cs.nyu.edu/~pechtcha/ > |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu > ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com > |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. > '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! > > "The Sun will pass between the Earth and the Moon tonight for a total > Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/