X-Spam-Check-By: sourceware.org From: "Dave Korn" To: Subject: RE: Persisting values of environment variables Date: Thu, 24 Nov 2005 14:25:17 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <4385C1A7.5060401@byu.net> Message-ID: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Eric Blake wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > According to Nate Meyer on 11/23/2005 11:27 AM: >> 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 $HOME is set back to the default /home/user. How >> can I persist the change to $HOME? > > Windows way - [...snip!...] > Cygwin way - [...snip!...] We should also point out that $HOME is a fairly special variable, and the OP should also read http://cygwin.com/faq/faq.setup.html#faq.setup.home cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/