From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8507 invoked by alias); 12 Feb 2016 17:30:17 -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: 21277 Received: (qmail 22719 invoked from network); 12 Feb 2016 17:30:15 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=oaxt3Dt+U8cl+zFzSf802yTbXj9cgZayIYpLIwOJ5tU=; b=CX/nyV2iKSWHTx5AfNcvymHYoaJGFqARlL6wY9i8GIYEiPewpJNxXyBk3KIKb4Wd4f 1GWAbUvJxWJcEevv6VoHpNCj40YL9O+f7L9oPc2DkACk2Qa3VW61MBewXAvxdlt9CyKu f0WNpH5rUtvDCEkOqlzXqAg3UCfHeIna+ptk+eJCucKuwLLds1IICXQ8LE9ahhl/jHHS cMmps8cReAC0GZyX1VGUZ+6xJCQfc5LqcPs/D9YbdWy4peo56ghA6qthZ54OaSB6YbLz O+BHd8Tp6raL0gXfE7ueV1AKG5sonWCmyBui7j+nd6vuUlCLanWdBLDfc+O/rBYp0AFV 4N4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=oaxt3Dt+U8cl+zFzSf802yTbXj9cgZayIYpLIwOJ5tU=; b=A3Zy4cSrGIEkS7Xq2+k7ttHxe658k0M7jx7U0AlxHjGVJ+Z1G99Bw16jXhLSvlcFG1 jG0BH9tJJ2z88VT+PPkyytEPjpRttFV+FcYQeP7eT1pDQx834kRYvAqBRjM1PK5EzI1Y kd6icTvwXygstcJAuKNemn+t/1RoglmfLwwIg6Vacyw9oWtgHTpJSJSml+R+2XxYh1Pi B3eLQkkanbKsvrJDZSZ1+/BbmTVmghzD+HT51ZIaKZG4AuQ2I/J0M0un7/DQYmZ3tzbQ 4WCoPYNKsfcUbpiupDNmTxErWkE9wFG9YL2ART35Ixj0KOyvG4eEyCA48TCHDYZEF3yE 8cmQ== X-Gm-Message-State: AG10YOQSLpgpXWVOT8ddt8YFqYQz/Er0/7LzJvsEKbJ3LlW9x+lGcvmlTGaF43d85N1Kp8UaHPRu7R8niRo78Q== X-Received: by 10.112.158.65 with SMTP id ws1mr1137903lbb.86.1455298213966; Fri, 12 Feb 2016 09:30:13 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <160212091607.ZM14469@torch.brasslantern.com> References: <160212080127.ZM14265@torch.brasslantern.com> <160212091607.ZM14469@torch.brasslantern.com> From: Sebastian Gniazdowski Date: Fri, 12 Feb 2016 18:29:54 +0100 Message-ID: Subject: Re: Complete with *part* not part* To: Bart Schaefer Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 On 12 February 2016 at 18:16, Bart Schaefer wrote: > On Feb 12, 5:11pm, Sebastian Gniazdowski wrote: > } Want to have this only for "zplugin" and only for its sub-command. > > The name is "matcher" when it's a specific tag, "matcher-list" is for > the global setting. So this should theoretically do it: > > zstyle ':completion:*:zplugin:*:argument-rest' matcher 'r:|=** l:|=*' Looked at the dtrace output and found this to work: zstyle ':completion::complete:zplugin::plugins' matcher 'r:|=** l:|=*' Fine thing the dtrace, huh. I think it reveals some bugs in my completion design. Should I be using -C for _arguments? Because there are tests that look bad, double "argument-rest": Zstyle -s :completion::complete:zplugin:argument-rest:argument-rest matcher match Best regards, Sebastian Gniazdowski