This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Persisting values of environment variables
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Thu, 24 Nov 2005 14:25:17 -0000
- Subject: RE: Persisting values of environment variables
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/