X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Changing HOME for PERL Date: Thu, 27 Aug 2009 18:49:03 -0700 Lines: 33 Message-ID: References: <4A959537 DOT 7020900 AT bopp DOT net> <4A95AA6A DOT 9010909 AT bopp DOT net> <4A9697B2 DOT 6050101 AT bopp DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: X-Stationery: 0.4.10 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 Dexter_Michael AT emc DOT com wrote: > I think you hit the nail on the head. Apparently yesterday when I > entered the path /usr/bin/perl somewhere, Cygwin decided to create a > perl directory and automatically put profile files into the directory > it created. > > .bash_history > .bash_profile > .bashrc > .inputrc Well remember, you started out trying to make Perl your home. That was a foolish thing to try. I don't know why you thought that was something you wanted to do. You actually set your home directory to /usr/bin/perl and Cygwin dutifully said, when starting up bash, "The user's home directory is . Hmmm... that directory doesn't exist! I'll be nice and create one. Oh and let's put in there some skeleton like start up scripts...". > I moved the "perl" directory out of /usr/bin and the SheBang > /usr/bin/perl began working. Great, now do "rm -rf " where is the path to where you moved that Perl directory to. You don't need that any more. That was a mistake. > As for my path statement I will be trimming that down right next. > > If I emailed anyone directly using this forum that was not my > intention. I always meant to hit -reply-to-all- so sorry if you got > mail directly from me by mistake. I don't think reply-to-all is what you wanted to use. I'm not sure however as I don't use a mailing list rather I use a news server (gmane.org) which translates this mailing list into a Usenet style news group, which I prefer. -- Andrew DeFaria Always try to be modest. And be damn proud of it! -- 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