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,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2377 invoked from network); 9 Sep 2020 18:04:26 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 9 Sep 2020 18:04:26 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1599674666; b=RKKAcbgood9MvSFf1gWPfjKSx3ia3OIidxOMtlYDVyvgwfyTpNBtfeGQD5/qjbHqoCl/Jqn1fy Uf5w686eJBHfMHUYd3TVTqyXAmUTco5TkzwvLL4LDl5zs01W22NhETbY2x4iiTA1018uE2affH 72k5o6IPCty67opu0EkSD12OaBVYHX4oxSkgxnUWG0fMhQFJqDbjXZY1AWPcaOlUkwFJcKrR8f cwvZb1M6JufRlFj4RFFnWhvoto34op8XdrKohP3/C9ZNUZt7h5AoMdNekPCwn9Lt4r1MNY8Wn2 e2RkrDVjcLA/IkdpELu7SAGOz/MTiwnvMTLV21QRfIO1sA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out3-smtp.messagingengine.com) smtp.remote-ip=66.111.4.27; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1599674666; bh=prZXFnDo0J99Q0wUMntHXkF281nbZHxPmoLcdbxO1bE=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=qqZOfFCIG4R42Ak7h3EzrHjieVsgs71Q4+bAtw+dcm831WE9hMO8GnOg/NwkGwMN9HxcRrZ4zB E+pLV62VrH25pKkG42RoN8GUA90qDaBNK5OQB7TMF2vM/gF1KwjhFWOuCf48ce1YZmPsI62/4J IN7dnQ6ZYSbosDCvbwpBHO2pwZm0qZN9I6EUMm9j4RJgbDtxyDlWKEkHvRs1vHQ5RSSvkbhXMt 5f/72gx17flBQl7gZN7HYpB37UqWFZMMkICig8koyclREit0qydyHut0wN2rcOP8Mf7h/9VYff LhHR5DubiH2xWTE8VMNciqrv2Wb3JXLuIjXr22C7bGl8/w==; 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-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To: From:Date:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=nIMLXDGMxMZ1Kntwpqftqz4x+Wi/bYgEQTt4GuClkZA=; b=keKUnWmqDLWoYjNGx8hQ50e2rz wVlF6SfQgygTf4D2g7LfA7Qn0qz/ALGHbKdrzx3Mpb6V8z6tTfvZHCPMAQyDq8lGi33GO5yThz2od JAM6gb/bQ9JpBjMVUjzxOY5KO2hwHsYtSJ44xU6JpnvvQSztYerHSw9Zn5xWwZyng2wS1FaHhn265 DxjPPHpQmk8bA6xf44y8NN1HMZCvXDNKzwV7AtaO1VEgn76RFrdkV6T0T/sbTf70GLztjCFudr11B OyU571CGjcE1GnNO/68LpOIV9Lh06hYVFurolEKIjrFgeCwhH4L7nGLVcgDJllAzlzgwogy1m9UpY vu4Pq6lw==; Received: from authenticated user by zero.zsh.org with local id 1kG4SG-0005O6-11; Wed, 09 Sep 2020 18:04:24 +0000 Authentication-Results: zsh.org; iprev=pass (out3-smtp.messagingengine.com) smtp.remote-ip=66.111.4.27; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out3-smtp.messagingengine.com ([66.111.4.27]:54023) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1kG4Rk-0004fl-JG; Wed, 09 Sep 2020 18:03:54 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id E71455C0055; Wed, 9 Sep 2020 14:03:50 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 09 Sep 2020 14:03:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=nIMLXDGMxMZ1Kntwpqftqz4x+W i/bYgEQTt4GuClkZA=; b=kTFtMDrQYdTiBxHfBAcN19Ww9RyflG3MefXv18mpwl mrt549Malg+3qZxgVXsasQRaedm1nElkQl8S+8TwskNXXKqcMpXm5P4yLVJ+KocO 3i3FeSUhJOoXl4C1J+zXG4K+LOP8R1upNSgiFL1qxbwpzPZP9Jg1Jeo+0iPhOMBE o2kYxKXGkg640Dj3BeMITNzfEJGpBhT9JlzmDv6LdFSY/dzGoWznBjY9W5/y+gZB aBFdAz9qP/N90FB4r/ugTFtEfgEXBtB+Nj0FlZN31SaaiKjhp9G45LVHyaq4c4oP fMqbHtCgMqvbWG7/U/UqLGJ6yXPp8B9hcwoRJQagejTw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=nIMLXDGMxMZ1Kntwpqftqz4x+Wi/bYgEQTt4GuClk ZA=; b=Q/f5ouNBHod/WuqhIOFAAGCrcxJwmzd1bjXZRh2sbkEgFZWeYeEJ0G11G FI2V8QpW/u2L4JteU8aXs9sjIus7tZgy4sH84fGC4PYEc1IA370gOBtyiw9Buvtp Mj3gDPuq+WOl2W0paOQPHuWhY8mzmrdRUKBLOiEv5thRiN5FStbeacT6Kbri3PSv cgwErpmhcSxtVEXophBBM9ND7Hb0oZyofwfAhjK5M2rlD5whnsGiGD0a229yOSiQ PNIypz33q25C41Ufd3CLOoaj5Ezala3DbjeIIcPDhkJfOh3nF4/vihyWnoGrKs+A JGhZu1bue2KCKR0PbpKOVusoPVZ3w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudehhedguddujecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkjghfofggtgfgsehtqhdttdertdejnecuhfhrohhmpeffrghn ihgvlhcuufhhrghhrghfuceougdrshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpefhtdetfeehveeutdehuddtieefgeettedtjedtffehudei ieejleetteekudetheenucfkphepjeelrddujeelrddtrddutdejnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepugdrshesuggrnhhivghlrdhs hhgrhhgrfhdrnhgrmhgv X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-79-179-0-107.red.bezeqint.net [79.179.0.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 6963730679EB; Wed, 9 Sep 2020 14:03:50 -0400 (EDT) Received: from tarpaulin.shahaf.local2 (localhost [IPv6:::1]) by tarpaulin.shahaf.local2 (Postfix) with ESMTP id 4Bmqdc6fhgz3Y; Wed, 9 Sep 2020 18:03:48 +0000 (UTC) Date: Wed, 9 Sep 2020 18:03:47 +0000 From: Daniel Shahaf To: Ahmad Ismail Cc: Zsh Users Subject: Re: zstyle tag-order completion issue Message-ID: <20200909180347.770c9f9e@tarpaulin.shahaf.local2> In-Reply-To: References: X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Seq: 26059 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: Ahmad Ismail wrote on Wed, 09 Sep 2020 18:33 +0600: > In git completion, I want ancillary-manipulator-commands tag first, then > ancillary-interrogator-commands tag, then rest of the tags. >=20 > My following zstyle is showing ancillary-manipulator-commands tag first, > then ancillary-interrogator-commands tag, but then not showing rest of the > tags. >=20 > 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 equivalent. 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