From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5212 invoked by alias); 19 Nov 2015 11:41:09 -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: 37157 Received: (qmail 365 invoked from network); 19 Nov 2015 11:41:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no autolearn_force=no version=3.4.0 Date: Thu, 19 Nov 2015 12:41:06 +0100 From: Vincent Lefevre To: zsh-workers@zsh.org Subject: Re: [PATCH] Remove curl completion Message-ID: <20151119114106.GB20857@cventin.lip.ens-lyon.fr> Mail-Followup-To: zsh-workers@zsh.org References: <20151118231618.GI2070@tarsus.local2> <151118162052.ZM5511@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <151118162052.ZM5511@torch.brasslantern.com> X-Mailer-Info: https://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.24-6524-vl-r83103 (2015-11-09) On 2015-11-18 16:20:52 -0800, Bart Schaefer wrote: > On Nov 18, 11:16pm, Daniel Shahaf wrote: > } Upstream now ships a completion that is a superset of this one. > > I wish there were some way to conditionalize this. I dislike the > assumption that bleeding-edge curl and bleeding-edge zsh will always > be installed together. If I upgrade zsh but not curl, suddenly my > curl completion disappears entirely. Shouldn't the part concerning curl in $prefix/share/zsh/functions/Completion/Unix/_urls be moved to its own .../Completion/Unix/_curl, and curl install its completion in $prefix/share/zsh/vendor-completions so that it has the precedence? -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)