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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Rolf Campbell Subject: Re: Aliases no longer defined? Date: Tue, 01 Apr 2003 15:43:25 -0500 Lines: 33 Message-ID: References: <20030401182945 DOT GA4676 AT bitstream DOT com> <20030401150230 DOT 00007668 DOT pd AT world DOT std DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en In-Reply-To: <20030401150230.00007668.pd@world.std.com> Peter Davis wrote: > > > To recap, this same exact .bashrc file used to work, on my previous > Windows(2000) machine. Now, on WinXP, it doesn't. In fact, even if I > explicitly type "source~/.bashrc" at the shell prompt, it doesn't work. This is because ~ expands to ${HOME}, which is /cygdrive/c/home. > I don't get errors, but the aliases are not defined. That is the problem > I've been seeing. I'd like to have some aliases for common commands, and > I'd like to be able to set some environment variables, like adding some > dirctories to my path. (These don't need to be in the Windows-wide > path... just in Cygwin.) Also, copying .bashrc to .bash_profile and then > starting a new bash shell doesn't work. > > If anyone can tell me how to define these aliases and environment > variables, I'll be*very* grateful. > > > >>You can still set your HOME, there's nothing (that I know of!) wrong >>with doing so. > > > > Igor suggested that my $HOME is set wrong, although everything worked on > my old machine with this same setting. What should this be, and how > should it get set? You should not set it. Cygwin will do it for you. If you want Emacs to work, then set it to your real cygwin home, and move your .emacs* files into your real home dir. (That's the way I do it). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/