From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1440 invoked from network); 22 Jan 2008 16:39:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO autolearn=no version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Jan 2008 16:39:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 39121 invoked from network); 22 Jan 2008 16:39:01 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Jan 2008 16:39:01 -0000 Received: (qmail 22700 invoked by alias); 22 Jan 2008 16:38:56 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24440 Received: (qmail 22685 invoked from network); 22 Jan 2008 16:38:56 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Jan 2008 16:38:56 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 76B618058F58 for ; Tue, 22 Jan 2008 17:38:53 +0100 (CET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Tue, 22 Jan 2008 17:38:53 +0100 (CET) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JHM9C-0000d4-8H for zsh-workers@sunsite.dk; Tue, 22 Jan 2008 16:38:50 +0000 Received: from 84.119.35.225 ([84.119.35.225]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2008 16:38:50 +0000 Received: from steiner.sepp by 84.119.35.225 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 22 Jan 2008 16:38:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: zsh-workers@sunsite.dk From: Sepp Steiner Subject: [ PATCH ] _net_interfaces: debian specific rewrite was: Re: [PATCH] _net_interfaces: enable completion for mappings on debian systems Date: Tue, 22 Jan 2008 17:38:41 +0100 Message-ID: References: <7342.1200995629@thecus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 84.119.35.225 User-Agent: slrn/0.9.8.1pl2 (Debian) Sender: news X-Virus-Scanned: ClamAV using ClamSMTP * Oliver Kiddle wrote: > This looks useful. Limiting matches is always good. However, it doesn't > seem right to me that _net_interfaces, which completes network interfaces > in general, should have specific knowledge of ifup and ifdown - Debian > specific commands. Ifup and ifdown are not specific to debian, but I have done a rewrite of this patch, to extend the behavior of ifup to show only interfaces and mappings that are down ans it uses better syntax for comparison of arrays. Behavior is the same in any other situation is the same as in the old one. http://members.inode.at/sepp.steiner/test/_net_interfaces.patch_debiancompl_v2 Sepp