X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_14,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org X-ExtScanner: Niversoft's FindAttachments (free) Date: Mon, 29 Jun 2009 16:21:04 +1000 To: "Linda Walsh" , cygwin AT cygwin DOT com Subject: Re: .bashrc From: "Dave Tang" Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 References: <4A48571D DOT 1020902 AT tlinx DOT org> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <4A48571D.1020902@tlinx.org> User-Agent: Opera Mail/9.64 (Win32) 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 On Mon, 29 Jun 2009 15:54:37 +1000, Linda Walsh wrote: > Dave Tang wrote: >> Hello, >> I have cygwin installed on Windows XP and for some reason my .bashrc >> file isn't loaded on startup. I read the FAQ "Why doesn't bash read my >> .bashrc file on startup?" but my HOME environment variable is set up >> i.e. when I echo $HOME it is correct. I actually copied my .bashrc to >> the root directory and it still doesn't load. >> Could someone explain how I can set up my .bashrc? > ---- > Are you sure you have your /etc/passwd entry setup > correctly? I.e. when you type 'whoami' at the bash prompt, > it gives your username -- and you have an entry in /etc/passwd > setup that lists your home directory? > Thanks for the quick reply. %whoami d.tang %echo $HOME /cygdrive/c/Documents and Settings/d.tang %cat /etc/passwd d.tang:unused_by_nt/2000/xp:11418:10545:d.tang,U-IMBPC\d.tang,S-1-5-21-2360347544-2198861549-3143054254-1418:/cygdrive/c/Documents and Settings/d.tang:/bin/bash > In that dir you have .bashrc? %ls /cygdrive/c/Documents\ and\ Settings/d.tang/.bashrc /cygdrive/c/Documents and Settings/d.tang/.bashrc Do you spot anything funny going on? Thanks again, Dave > > > -- > 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 > -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ -- 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