Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Reply-To: Cygwin List Message-Id: <6.0.1.1.0.20040412142341.03aabe88@127.0.0.1> X-Sender: Date: Mon, 12 Apr 2004 14:29:41 -0400 To: Hoss , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: .bashrc is ignored In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 09:55 AM 4/12/2004, you wrote: >hi. > >I'm a newbie to cygwin and I'm trying to setup .bashrc to start when I launch a >cygwin terminal (using rxvt in fact). my .bashrc is ignored which I think is >because the %HOME% environment variable is not set *before* I run bash/rxvt. >When I do set it, it simply causes bash to create new directories. Basically >I'm not sure whether %HOME% (a windows environment variable) should be set in >Windows or POSIX format, and how to quote the string or escape spaces in either >case - I'm trying to make sure my home directory is the same as my windows >profile directory (done this) and that bash recognises this as the location to >find .bashrc. > >Hoep someone can help! Check whether the directory you want is listed as your home directory in /etc/passwd. If it isn't, change it manually or rerun 'mkpasswd' and tell it to use the directory you want (see 'man mkpasswd'). An alternative is to set 'HOME' to the path that you want in Windows. Set it in a POSIX form. Keep in mind that not all scripts and programs are tolerant of spaces in paths so you may want to consider using a symbolic link or mount to your home directory if it does contain spaces to avoid any hassle. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/