From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15111 invoked by alias); 27 Oct 2014 10:26:05 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 33555 Received: (qmail 15961 invoked from network); 27 Oct 2014 10:25:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 From: Frank Terbeck To: Igor Gnatenko Cc: A workers/hackers list Subject: Re: dnf completion In-Reply-To: <1414388252.16236.3.camel@gmail.com> (Igor Gnatenko's message of "Mon, 27 Oct 2014 08:37:32 +0300") References: <1414388252.16236.3.camel@gmail.com> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.94 (gnu/linux) Date: Mon, 27 Oct 2014 11:25:22 +0100 Message-ID: <8738a9ajxp.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: NDMwNDQ0 Hi Igor, Igor Gnatenko wrote: > I've implemented bash-completion for dnf package manager[0]. > Now I switched to using zsh as my primary shell and found some cool > things, but I need completion for dnf. As I see yum functions > implemented in zsh, can you do this for dnf too? How I can help? Where > I can find documentation how to implement this completion? A while ago I wrote a 10000ft view of the completion system. It describes some terminology, basics, misconceptions and explains one small completion in further detail. It then lists a number of further reading material to get you on the right track. You can find it here: http://bewatermyfriend.org/p/2012/003/ Hope that helps. Regards, Frank