delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/17/18:59:18

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 17 Sep 2001 18:58:03 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: using aliases for cygwin commands on win2k
Message-ID: <20010917185803.A25646@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1000766517 DOT 1643 DOT 11 DOT camel AT lifelesswks> <20010917225406 DOT 95591 DOT qmail AT web11106 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20010917225406.95591.qmail@web11106.mail.yahoo.com>
User-Agent: Mutt/1.3.21i

On Mon, Sep 17, 2001 at 03:54:06PM -0700, Anoop Ghanwani wrote:
>
>
>--- Robert Collins <robert DOT collins AT itdomain DOT com DOT au> 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.

Ok, then ask someone in a windows-only mailing list how to do aliases.
This is not a cygwin question.

cgf

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019