From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28987 invoked by alias); 29 Sep 2012 01:56:53 -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: 30707 Received: (qmail 16015 invoked from network); 29 Sep 2012 01:56:42 -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,DOS_RCVD_IP_TWICE_B, SPF_HELO_PASS autolearn=ham version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at lorien.comfychair.org designates 173.8.144.98 as permitted sender) Date: Fri, 28 Sep 2012 18:56:36 -0700 From: Danek Duvall To: Baptiste Daroussin Cc: Bart Schaefer , Zsh workers Subject: Re: Completion collision, best way to fix Message-ID: <20120929015636.GG17010@lorien.comfychair.org> Mail-Followup-To: Danek Duvall , Baptiste Daroussin , Bart Schaefer , Zsh workers References: <120928075936.ZM28235@torch.brasslantern.com> <20120929011242.GF17010@lorien.comfychair.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2010-04-22) On Sat, Sep 29, 2012 at 03:39:24AM +0200, Baptiste Daroussin wrote: > What we could do is to provide a Unix/_pkg > Which will do the #compdef pkg and call _pkg5 on Solaris and _pkgng on FreeBSD? Works for me -- it's certainly a far simpler solution -- though I hardly have the final say on that. Phil's solution would work for me, too. > While you are here will you accept FreeBSD specific completion for > _zfs ? :D like the jail/unjail subcommand Sure. As long as the CLIs don't diverge too strongly, and the OS checks don't complicate the script too badly, that works just fine for me. That's why either Bart or Peter asked that it be put in Unix rather than Solaris in the first place. Danek