From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27752 invoked from network); 28 Oct 2005 08:09:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 28 Oct 2005 08:09:26 -0000 Received: (qmail 69463 invoked from network); 28 Oct 2005 08:09:19 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 28 Oct 2005 08:09:19 -0000 Received: (qmail 21826 invoked by alias); 28 Oct 2005 08:09:12 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 9570 Received: (qmail 21816 invoked from network); 28 Oct 2005 08:09:11 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 28 Oct 2005 08:09:11 -0000 Received: (qmail 68493 invoked from network); 28 Oct 2005 08:09:11 -0000 Received: from ariel.yandex.ru (213.180.200.32) by a.mx.sunsite.dk with SMTP; 28 Oct 2005 08:09:11 -0000 Received: from YAMAIL (ariel.yandex.ru) by mail.yandex.ru id ; Fri, 28 Oct 2005 12:09:07 +0400 Date: Fri, 28 Oct 2005 12:09:07 +0400 (MSD) From: "Artur Penttinen" Sender: arto-p@yandex.ru Message-Id: <4361DCA3.000001.21868@ariel.yandex.ru> MIME-Version: 1.0 X-Mailer: Yamail [ http://yandex.ru ] Errors-To: arto-p@yandex.ru To: av@simcon-mt.com Cc: zsh-users@sunsite.dk Subject: Re: adding completion file for zsh In-Reply-To: <20051028080159.GA7152@vandal.simcon-mt.de> Reply-To: arto-p@yandex.ru References: <20051028080159.GA7152@vandal.simcon-mt.de> X-Source-Ip: 131.207.221.91 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.0.4 >Hi! > >Please direct me to some document that describes in plain words how to >add new completion file for use by zsh. > >I have obtained _darcs from darcs website (yes I know newer version of >zsh has it bundled) and wanted to add it to the zsh 4.2.1 that I use. So >I've copied it to /usr/share/zsh/site-functions/ > >I know that zsh has found the file. First time I've messed up the >permissions so zsh complained that it can't open it :) But I still don't >have the completion. Yes, I have completion for all kinds of stuff and >where I use new zsh I also have it working for darcs. > >Do I need something else to do? Or the file I got is simply incompatible >with 4.2.1 completion system? > >Sorry, probably I could have figured out myself by digging in >documentation, but I really hope for quick answer here :) http://www.linux-mag.com/2002-07/power_01.html -- wbw, artur