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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8351 invoked from network); 4 Dec 2020 17:00:54 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 4 Dec 2020 17:00:54 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1607101254; b=UhLqWqqTPHfxuDT65Rk6mcoJlyX6mvyikWyc+l4Z81GfqEKX69N0kDhu6F7kd5RDtPIfE4Vteu QlyiwopB5ypKWRKIYYEB4dd68LbzCm1UUuaMih+PmSuG325XYIhqDKLaL0Pu1lBQdHH67oJm0Z 3U4QoP2G4snzkv6Op/m7Flufcb+V+3556X9cUJRbs+5G0CmnvDIPRn6c5dNjeybEBzD0c5alfD agphCFLuFeuzF/1IY1AnnMVoXdnhoYth2B4sS8ImALKEEH6WnInlYnBuVwcCm6zjcSR72VxofH bKakQqKJa9OdqeZWcuvE3gmYT/Z1637j/CnRu21p7dZEdg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1607101254; bh=+SjHFnOwI8SydbCAxAALtFkJnfhoEb0nHFdIJ1EHrnk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject: References:In-Reply-To:Message-ID:To:From:Date:DKIM-Signature: DKIM-Signature; b=zp46h/dh5vHbikgGU1c6iAihihGrKNsYpW3kwUcZRMzYkwEiT2yVqDvsJdddrQ1DLE4zuYespi 7S9a3ruTgmErA6QsCVCk7m7czUwCt42F52rnig8/afIu4XQ+sEO7q3KU6D6mFqH+RdEZSlzTYH RE6lrpBph1nFl04TIsRs0Ozbt71zz800B8f8pACnd4YNY1T5i1eH3VAElHVyRdJWiKnfNxJv6c JFKdjYZGqpVSGmHQviwTDQK9VbPul2sHTryIPm1W9KImIg3TjgqsWSw4iIzblG2znasmgF/2cf 5Rm1mGmZfKCUBoFwgREr6yhK9Pw+OQVMLoLmbU/REWg3Uw==; 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:Subject:References:In-Reply-To:Message-ID:To:From: Date:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Eo5vWVwWZKn0Jvv7BccJ34DnDyBVyD8ukQvBNPZYJik=; b=1p+TLGzCLLwFovQUvgs3S9pJbt KuQ9lkHKREMkmml76AB5YMxW5BVahXvwzYy8uzXeC3jPeW4qabDca0KUm9tRTad/qxsSm7NOdXbC2 h25nsNvmtaXPcTwJ+l1A26ietSQH1BCspd2Es+xT6Y8uMBma/vg/+CnL2UGuuBtWbAOdics5AZwVU Gs4hKZyeq6lOCIgCy9ejwTO9/db/CYhTvgcDdlM+n/aF+6+T00sjUXCEuaqCDMLtyP2Uo0PBbVP+l 6mcvVs4v7pnPTqo5wMMoyvAIoh/FJnuBdceloLVXjmX1Ko2sejrvcWgkLqHdTbxBl8ja0/jUw2Pzv YkkZmtfg==; Received: from authenticated user by zero.zsh.org with local id 1klERu-000K7g-E7; Fri, 04 Dec 2020 17:00:50 +0000 Authentication-Results: zsh.org; iprev=pass (smtpq2.tb.ukmail.iss.as9143.net) smtp.remote-ip=212.54.57.97; dkim=pass header.d=ntlworld.com header.s=meg.feb2017 header.a=rsa-sha256; dmarc=pass header.from=ntlworld.com; arc=none Received: from smtpq2.tb.ukmail.iss.as9143.net ([212.54.57.97]:33494) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1klERU-000Jl1-LY; Fri, 04 Dec 2020 17:00:25 +0000 Received: from [212.54.57.81] (helo=smtp2.tb.ukmail.iss.as9143.net) by smtpq2.tb.ukmail.iss.as9143.net with esmtp (Exim 4.86_2) (envelope-from ) id 1klERU-00033b-8W for zsh-users@zsh.org; Fri, 04 Dec 2020 18:00:24 +0100 Received: from oxbe20.tb.ukmail.iss.as9143.net ([172.25.160.151]) by smtp2.tb.ukmail.iss.as9143.net with ESMTP id lERUkbQhGP3V1lERUktOio; Fri, 04 Dec 2020 18:00:24 +0100 X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-users@zsh.org X-SourceIP: 172.25.160.151 X-CNFS-Analysis: v=2.4 cv=YuHK+6UX c=1 sm=1 tr=0 ts=5fca6b28 a=Ip+kZtMD4PYul4iMASbA3A==:117 a=DeGUKtW0en8A:10 a=IkcTkHD0fZMA:10 a=zAZwVUNnDPoA:10 a=pGLkceISAAAA:8 a=33zYKtRhKlxYy8OTJHIA:9 a=QEXdDO2ut3YA:10 X-Authenticated-Sender: p.w.stephenson@ntlworld.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntlworld.com; s=meg.feb2017; t=1607101224; bh=+SjHFnOwI8SydbCAxAALtFkJnfhoEb0nHFdIJ1EHrnk=; h=Date:From:To:In-Reply-To:References:Subject; b=urxd6k4XXMsJCGXuAewcLikc5mzXaWWOkTPadRX3uVubzGS6nenYP1NjmPP0QFnex iPZ2khItCiMT0AnlrqL/4rl9z7SHgsvsxXVzc1OyIiCi25uOC9ntUU5OY5ahIYFb5N m3Ik6efaBvnSDvorH8cjQVmH5847wO2Q6+YQbtJV8sOaXScwzPBHZsyt2cadMQv/5W Oy+o/Bx4/3afwbAV5nRmazzaayxcut7zq26GvZtjiiTit3zSCkQ8nxjJkC/wkk4i92 ffODtRqxID0VsK5PEPd/IHnOLLgGJFB45Qf2ynGpDeA0xDCLVYkALdHRS7/VZRWqxg ZmJa6HFBF6G7A== Date: Fri, 4 Dec 2020 17:00:24 +0000 (GMT) From: Peter Stephenson To: zsh-users@zsh.org Message-ID: <611239356.1973489.1607101224170@mail2.virginmedia.com> In-Reply-To: References: Subject: Re: Completion order for approximate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev72 X-Originating-IP: 165.225.81.25 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4xfE/TlFeKpCJKZJhrgwK3ldqy6IERTsmQwRrGFER/8UDrHztbDnKhuhPmGNXbB6bMA3tHRSChSz4PKWi+6Rt8PVGvH+T8wel6awUNZjuwXtQSmkGvZbRj 8ACwHU4VSgpgYARA666k7pNgLKYC0aMb5pMVEgLCh/Ogp60r9q9GnGbmvcko3V1z5MjGMcF3gej+wHjGXS8jRnRLetpsRxU6TPM6vnK9+eHVPY34ItcNnRVs X-Seq: 26209 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: > On 04 December 2020 at 16:49 "A. Wik" wrote: > I'm trying to set up the approximate expansion so that the original > string comes before the corrections in the menu. > > This doesn't work: > zstyle ':completion:*:approximate:*' tag-order 'original corrections' You need: zstyle ':completion:*:approximate:*' group-order original corrections --- note also no quotes. See group-order in the zshcompsys manual for more. tag-order specifies the order completions are looked for, not the order they're displayed in. To specify an order, you need separate words on the command line; values in the same set of quotes are treated as being together (sometimes useful for tag-order, not for group-order). pws