This is the mail archive of the cygwin@cygwin.com 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: Doesn't chdir to /home/foo when cygwin shell is started


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/


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