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 Date: Fri, 22 Jul 2005 23:40:53 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Ken Dibble cc: cygwin AT cygwin DOT com Subject: Re: How does one set aliases for Cygwin for XP Prof Windows? - Still doesn't work! In-Reply-To: <42E1A956.8040106@alltel.net> Message-ID: References: <9ED00E54321A9349A3A7B9C805C0984B04F4A177 AT maui DOT shoretel DOT com> <42E1A956 DOT 8040106 AT alltel DOT net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Fri, 22 Jul 2005, Ken Dibble wrote: > You .bash_profile should look like: > --- > # ~/.bash_profile: executed by bash for login shells. > > if [ -e /etc/bash.bashrc ] ; then > source /etc/bash.bashrc > fi > > if [ -e ~/.bashrc ] ; then > source ~/.bashrc > fi > ---- > If memory serves, this is the default .bash_profile. > > This would make sure that .bashrc gets executed whether your shell is a > login or not. > > If this is indeed your .bash_profile, I would next check permissions on > both files to make sure they are executable. FYI, if the files are "source"d, they don't need to be executable. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/