Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20010917225406.95591.qmail@web11106.mail.yahoo.com> Date: Mon, 17 Sep 2001 15:54:06 -0700 (PDT) From: Anoop Ghanwani Reply-To: anoop AT alumni DOT duke DOT edu Subject: Re: using aliases for cygwin commands on win2k To: Robert Collins , anoop AT alumni DOT duke DOT edu Cc: cygwin AT cygwin DOT com In-Reply-To: <1000766517.1643.11.camel@lifelesswks> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Robert Collins wrote: > On Tue, 2001-09-18 at 08:37, Anoop Ghanwani wrote: > > I wanted to find out how to use aliases for cygwin commands > > on win2k. The cygwin commands are located at c:\cygwin\bin. > > I don't run bash, but I still use commands such as ls, grep, rm, > mv. > > I would like to create aliases for these commands such as > > alias ls 'ls -lF' and so on. How do I do something like this? > > Run bash/tcsh/ksh. Do not run cmd.exe. Thanks for the response. If I do that, I lose the ability to start applications automatically by simply typing the file name. For example, if I have a file try.doc, and I type try.doc at the Windows 2000 command prompt, it brings up Word with that document. -Anoop __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ -- 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/