delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/08/07/04:20:37

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,KHOP_THREADED,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Tue, 7 Aug 2012 12:18:03 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <1384340755.20120807121803@mtu-net.ru>
To: Soumya Roy <roy DOT valmont AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: HOME directory has somehow been overridden
In-Reply-To: <CAF8vj8HV2HxJ=eZyDpn0BqONQtTtzX_qXgEb4GtyBsbSP+ON_w@mail.gmail.com>
References: <CAF8vj8EALfGycbCRighCHGeN1u2x5Gds1p2st6WTQDNKYK=+Dg AT mail DOT gmail DOT com> <CAF8vj8Fb5WaRPDTOBficto4S9Nj+nidtUrm0nTYwF7=V-P+paA AT mail DOT gmail DOT com> <198624923 DOT 20120803012834 AT mtu-net DOT ru> <CAF8vj8HV2HxJ=eZyDpn0BqONQtTtzX_qXgEb4GtyBsbSP+ON_w AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Greetings, Soumya Roy!

Please, don't top-post.

> Howver as it turns out, previously when I was typing "$ ls ~"    I was
> getting the contents of "Documents and Settings/Valnt"....but now
> however "$ ls ~"   gives me the actual proper content of
> "/cygwin/home/Valnt"....which is perfect...however the basic problem
> still remains i.e the initial directory(after starting cygwin) that I
> am in is "Documents and Settings/Valnt"...
> so this is what I want to "fix"...
> Any suggestion is much appreciated.

You can define HOME in windows evironment. But that would also affect other
programs, that totally don't expect such action.
I mean, if you say $HOME, programs expect it to point you your user's profile.


--
WBR,
Andrey Repin (anrdaemon AT freemail DOT ru) 07.08.2012, <12:15>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019