From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9212 invoked by alias); 27 Jul 2015 18:13:25 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 20349 Received: (qmail 15544 invoked from network); 27 Jul 2015 18:13:23 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:references:to :subject:mime-version:content-type; bh=hsaMPA3+q3mnR3B6o2iH6E8eVuVr1hUqx829m5/+5RU=; b=eUaEynagPRH/Vh2HZpaathHBzkS+AytSpP/5ptWfdXIVjalrjv0fi0DJY+yOiBKTMl GtsJGgwJ3BCrd4jIM3ZAVLFZTmDPfbx22Z4/p918fsvfRCInpZkhQSi6c1fTZHZHJiX6 ts4y8e3FQtSfkfk37cy1/K7sVp+l5epo4c5+EjQe5b9STrdA9H6LXzV4EYh5vEjeGrlo VBwkBHLFzUq39ornnfITMItyH8vItEG3A53lJIzcC8ha3jmO/ykzYZPcXlSulKeax5g5 uHSXb0n175858pT7Kp9kMguGwHS9XZl1UivdT/XRi1b1gpBt2uZpq2LQ/Khotxea+6+4 vsLA== X-Gm-Message-State: ALoCoQlOp4AFLMhWLKW7OFpD966piYJGD21pIgxzoH1+adNW2Jwly5MDbuEO7T/MmmGjpshDGNDK X-Received: by 10.182.220.138 with SMTP id pw10mr29084706obc.24.1438020800860; Mon, 27 Jul 2015 11:13:20 -0700 (PDT) From: Bart Schaefer Message-Id: <150727111317.ZM6876@torch.brasslantern.com> Date: Mon, 27 Jul 2015 11:13:17 -0700 In-Reply-To: =?iso-8859-1?Q?=3CB8DE2BC0-9E11-448F-BDE8-A0E4DD9C7092=40dot?= =?iso-8859-1?Q?=2Eee=3E?= =?iso-8859-1?Q?Comments=3A_In_reply_to_Andri_M=F6ll_=3Candri=40dot=2Eee?= =?iso-8859-1?Q?=3E?= =?iso-8859-1?Q?________=22Makefile_completion_with_wildcard_targets=22_?= =?iso-8859-1?Q?=28Jul_27=2C__7=3A47pm=29?= References: X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: Makefile completion with wildcard targets MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii You could try changing (near the end of _make): _requested targets expl 'make targets' \ compadd -- ${(k)TARGETS} && ret=0 to _requested targets expl 'make targets' \ compadd -Q -- ${(k)TARGETS} && ret=0 Thereafter the _expand completer should be able to resolve them into file names. Any zsh-workers have an opinion on whether this would be correct for all targets? Should we just make this change in the distribution?