Doesn't chdir to /home/foo when cygwin shell is started

Carlo Florendo carlo@astra.ph
Wed Jul 2 05:55:00 GMT 2003


From: "Xanana Gusmao" 


> My initial HOME var was:
> 
> $ echo $HOME
> C:
> 
> $ export HOME=/home/foo
> Now it works but I need to add this to a startup script or something.

Open /etc/profile with your favorite text editor, and at the end of the file, add

export HOME=/home/foo
cd $HOME


Best Regards,

Carlo
------
Carlo Florendo
Astra Philippines, Inc.
URL: www.astra.ph www.astra.co.jp
 



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



More information about the Cygwin mailing list