X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Re: Persisting values of environment variables Date: Thu, 24 Nov 2005 14:16:53 +0000 Lines: 18 Message-ID: <1hkbosmsnsboi$.wem2uavltq5b.dlg@40tude.net> References: <94BF3137C62D3E4CAED7E97F876585F0D037E5 AT pauex2ku08 DOT agere DOT com> <000101c5f05b$9b756760$d2603620$@com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: 40tude_Dialog/2.0.15.1 X-IsSubscribed: yes 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 * Nate Meyer (2005-11-23 18:27 +0100) > I'm trying to change the value of $HOME. If I do something like "export > HOME="c:/whatever" $HOME is changed for that session. But after Cygwin is > closed and restarted You cannot start or close Cygwin... > $HOME is set back to the default /home/user. Sure, that's how it's always been in Linux and Windows. > How can I persist the change to $HOME? Put the value in the startup file of the application you are using. This is _not_ Cygwin but probably bash (a /shell/). Or put it in the place where you set environment variables in Windows. /etc/profile mentions how $HOME is set. -- 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/