From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28156 invoked from network); 18 Aug 2002 10:46:29 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 18 Aug 2002 10:46:29 -0000 Received: (qmail 13596 invoked by alias); 18 Aug 2002 10:46:02 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5264 Received: (qmail 13571 invoked from network); 18 Aug 2002 10:46:00 -0000 Message-ID: <3D5F7AC5.5080102@base2.cc> Date: Sun, 18 Aug 2002 03:45:25 -0700 From: Byron Foster User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020618 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Zsh users Subject: Re: [SUBMIT] _ant completion function References: <3D5DA795.8CE14D47@progress.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Bill Burton wrote: > Hello, > > Here's my version of an _ant function for Ant completion support in > versions 1.3 to 1.5. Cool, it would be nice to have ant completion for ZSH. > It's nearly 100% pure zsh with the exception that sed is called to strip > \r's from the output of ant -projecthelp which is a requirement when > running under Cygwin. If anyone can tell me how to do that with within > zsh I'd appreciate it. try: target=${target//^M/} Where ^M is a quoted insert of the single Cariage Return character (#0D). ie. 'Ctrl-v Ctrl-m' in Zle or vi. Byron