From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,T_KAM_HTML_FONT_INVALID,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 16652 invoked from network); 9 Sep 2020 20:18:17 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Sep 2020 20:18:17 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1599682697; b=0yZJGncWTi1iU3yQ36ys14iIFZnKCHGgYetgMJrme/6bIgCG5/kW5ykvhH8XvRBvDCWLBHlRAW 7AWRD7njn7fGCZG/qEyAw+I54biPCVM/t+GOBccxPtdw6E2Z0b/VqtcxZqGOyckTwtHeNLA3i6 oCP4ontAHx3oTxwun/MHydOk35SUYh3ilvS1h4KAgXMoW8JyQ+X4pMLffvBKDsc/4Sw8V8eyto bKZajHGRQb5V+ax7pNJwm60nlBgZiFcAZChWx/dG8qsVvmITQ4OgoU/4LpRGPtuesIHDqtjNPi 7VmBGcEm1HJfsuQuBbmXYk1Ix5H5rTtxwf+yZrjC3tgkRQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-oi1-f170.google.com) smtp.remote-ip=209.85.167.170; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1599682697; bh=jV2epPpp8gWVMuUvtCQKPdcPC/b70bDV8hUSMMEAdfo=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=EvX4axDj3FFA0B4b+sogRIorAYz7qpH/Ssw4FBcn696NFkS3bdQ1ygUpP8o0/nRPh+8xOGW4rc pPhiajol/puGI7R6g+5Yu/rdgBtaFQ35tRGneVi690VN9C9kw6TqevkcQB4UTQMm7erR6cypsQ ZQXFbU1EyRioY6eUajynkarbfhRL+/5QxPFCBEuwpQ4J8cdPJ6OCjU6huvvkGzEq6Cmyf2LB5q 28R5eiYcQIQHZawYp1DyAHOICnB8OtGr7ppIPh6RtzTf1nqpAok0ejZtRYe9WUioQQ7qrapgFm yhvYwYJxdrt67Yo1M6AJWKoa5kWwlK3ifZ9euL0MQzFrMA==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=mPSQxK9wOCuG4KDSpd4lpH6jTJCgYDPOMGNVaJnWTlg=; b=RVQizEVxASUYNqB+nEBGez4B1Z Kewl9xsVn5mLqMf0UsJU08R9BcV6NsVTTaiGjNt2t1NcIZX5SlSbRyawH6g0wvMKDex0OEOrC/moe yPKuzMYN7SysBV9zqQSR+SHBeM/lQ5m8rprtFtBvWo5cMTENDEN55Kl/pF2v74wgfmRg5sqWgI9mD B7vQi9sudE9hlsbu5Gp8QT63CJZIm5RpfAbyqH/Wr+GKeQ39MAR0B5dln1NeOgCL6xW/qdr766wLi e/Wo+FYcfq1fkI90wuo0XumMT8ZAr1RE/ufv0RRiYybyiKO5FfMLtQQXM0kQdz9KNVSnzDoBd8C2T MDmz3M2w==; Received: from authenticated user by zero.zsh.org with local id 1kG6Xm-000NLr-Ct; Wed, 09 Sep 2020 20:18:14 +0000 Authentication-Results: zsh.org; iprev=pass (mail-oi1-f170.google.com) smtp.remote-ip=209.85.167.170; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-oi1-f170.google.com ([209.85.167.170]:43904) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kG6XC-000MyX-H5; Wed, 09 Sep 2020 20:17:39 +0000 Received: by mail-oi1-f170.google.com with SMTP id i17so3646429oig.10 for ; Wed, 09 Sep 2020 13:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mPSQxK9wOCuG4KDSpd4lpH6jTJCgYDPOMGNVaJnWTlg=; b=Zlj21TmIDuGR4UqR+AcpySopQqM2iSVKKMsTKT/sq3fGQWUdYe4CQSmCZLXZHqVIJs 1R3gdsO4RK6fPpLYeP27HLfncu6vj3DUd5EAHf4f5iyTsJxVDksxIAU/UOcYq7XQ7zFJ b2+JJQO2Gyjo5FVxhUqwalWR/C+IYox5jpY32czIMdA73eK3yGDKFZTyWwsr/dOMFBqt dN6fpyBFl+SzFKAVxXRGJACSqlXjhzTdXA2Ul15BKltOh/DuCuYaNLZ5AYbvypQPUHe5 qpJNF1eQa0GQTeuGsUJMVL1ubBcPp1rOEdi6vIgGBf660nWrjto4ATlvoJS97P5pnpE+ uVIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mPSQxK9wOCuG4KDSpd4lpH6jTJCgYDPOMGNVaJnWTlg=; b=lu37ewd+Pes/tL+etqdPRBQPudyWRgaBMcJ8NBDov6NuElVqENZj1+9wv1P73d9d/y xRzMNnd9rRNmF/yFVgQdq7hZKzE10JibsnGnPo7zHm7eGWr6SD5MJs1mg1aaTos+jJh9 OdG293fbginP3YvR9S8DCnaDRQmbAcF0NDHVWMKbhMhv389/nK5aErRPqK61vDIa3FwJ JsvG9bO9EpPnibPpcpulhZz/i/kh0IG8V5hdGwFxPczsRZpm8XOVhsaSS7sGqbiF8TS3 B98jme2v04/vdeJx49iWz0NOncwv+Ig0RPCvf8oytssngltWTW2ByooVmhRmje2QT+3b BLJA== X-Gm-Message-State: AOAM5329vLIFVj68tIdqV3HnQyrqt/eEoCquewz9hMHwix86NkGBdZCL eOpC0DfIMF7+wRSxtJsZDes7r0sNoCqyHrG77zEOdBr9lWcbsw== X-Google-Smtp-Source: ABdhPJw+q7w39lVu1xOwVFmUA5svIbyfOZjWAPcUZ7a8r/L0w38F6XwsAwAnwuTZ2/YN6GfxXvazWvZnluHBawj5jI4= X-Received: by 2002:aca:d54d:: with SMTP id m74mr1661898oig.3.1599682657009; Wed, 09 Sep 2020 13:17:37 -0700 (PDT) MIME-Version: 1.0 References: <20200909180347.770c9f9e@tarpaulin.shahaf.local2> In-Reply-To: <20200909180347.770c9f9e@tarpaulin.shahaf.local2> From: Ahmad Ismail Date: Thu, 10 Sep 2020 02:17:25 +0600 Message-ID: Subject: Re: zstyle tag-order completion issue To: Daniel Shahaf Cc: Zsh Users Content-Type: multipart/alternative; boundary="00000000000086454205aee724e2" X-Seq: 26061 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: --00000000000086454205aee724e2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Daniel Shahaf, Thank you very much for this kind reply. *Best Regards,Ahmad Ismail* On Thu, Sep 10, 2020 at 12:03 AM Daniel Shahaf wrote: > Ahmad Ismail wrote on Wed, 09 Sep 2020 18:33 +0600: > > In git completion, I want ancillary-manipulator-commands tag first, th= en > > ancillary-interrogator-commands tag, then rest of the tags. > > > > My following zstyle is showing ancillary-manipulator-commands tag first= , > > then ancillary-interrogator-commands tag, but then not showing rest of > the > > tags. > > > > zstyle -e ':completion::complete:git:argument-1:' tag-order ' > > reply=3D( > > "ancillary-manipulator-commands > > ancillary-interrogator-commands" > > - > > ) > > ' > > This means: First, show a-m-commands and a-i-commands; and, because of > the dash, show nothing else. So, just delete the solitary dash. Note: > with that configuration, you'll have to invoke _next_tags (q.v.) in > order to list completions from other tags. > > Incidentally, you can always simply =C2=ABzstyle -e foo bar 'reply=3D(baz > qux)'=C2=BB to =C2=ABzstyle foo bar baz qux=C2=BB. It's exactly equivale= nt. > > Note the quoting. =C2=ABzstyle =E2=80=A6 tag-order 'foo bar'=C2=BB and = =C2=ABzstyle =E2=80=A6 > tag-order foo bar=C2=BB are both valid, but have different meanings. > > Cheers, > > Daniel > --00000000000086454205aee724e2 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Daniel Shahaf,

Thank you = very much for this kind reply.

Best Regards,

Ahmad Ismail

=


On Thu, Sep 10, 2020 at 12:03 AM Daniel Shaha= f <d.s@daniel.shahaf.name&= gt; wrote:
Ahmad= Ismail wrote on Wed, 09 Sep 2020 18:33 +0600:
> In git completion, I want=C2=A0 ancillary-manipulator-commands tag fir= st, then
> ancillary-interrogator-commands tag, then rest of the tags.
>
> My following zstyle is showing ancillary-manipulator-commands tag firs= t,
> then ancillary-interrogator-commands tag, but then not showing rest of= the
> tags.
>
> zstyle -e ':completion::complete:git:argument-1:' tag-order &#= 39;
> reply=3D(
> "ancillary-manipulator-commands
> ancillary-interrogator-commands"
> -
> )
> '

This means: First, show a-m-commands and a-i-commands; and, because of
the dash, show nothing else.=C2=A0 So, just delete the solitary dash.=C2=A0= Note:
with that configuration, you'll have to invoke _next_tags (q.v.) in
order to list completions from other tags.

Incidentally, you can always simply =C2=ABzstyle -e foo bar 'reply=3D(b= az
qux)'=C2=BB to =C2=ABzstyle foo bar baz qux=C2=BB.=C2=A0 It's exact= ly equivalent.

Note the quoting.=C2=A0 =C2=ABzstyle =E2=80=A6 tag-order 'foo bar'= =C2=BB and =C2=ABzstyle =E2=80=A6
tag-order foo bar=C2=BB are both valid, but have different meanings.

Cheers,

Daniel
--00000000000086454205aee724e2--