| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
| To: | <cygwin AT cygwin DOT com> |
| Subject: | RE: Persisting values of environment variables |
| Date: | Thu, 24 Nov 2005 14:25:17 -0000 |
| MIME-Version: | 1.0 |
| In-Reply-To: | <4385C1A7.5060401@byu.net> |
| Message-ID: | <SERRANOCxMg2mqTMSfU00000121@SERRANO.CAM.ARTIMI.COM> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |