From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24061 invoked by alias); 8 Jun 2018 18:38:20 -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: List-Unsubscribe: X-Seq: 23457 Received: (qmail 979 invoked by uid 1010); 8 Jun 2018 18:38:20 -0000 X-Qmail-Scanner-Diagnostics: from out1-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(66.111.4.25):SA:0(-2.6/5.0):. Processed in 1.804055 secs); 08 Jun 2018 18:38:20 -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=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_PASS,T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=eMA7xO dAnEPuQ+V0xKJ6NWihGt/fN4sV9pAvhKavNHM=; b=B7HwttjamXEI4YttD0TebB L/5OcPIvuXMN4P8B2KGF/WL4umn4alwToruCcypjk7ssErRwE+88gtjAUHKMya49 ko2qF5mNKkr+nxjGCf4LcTnNsa7atNQwRgnGt1+o+QweMSPnSuNKE4M3pDO/2Kbu NkXtMwFBfsGlosMkF82vRsEwvPmyhOTZP4eisF50T9y2yikJGUjoXeh+PmTX8fUl gcz6ara6ntKOiHcIBnVSNx3aoo8kqz1OqWm1x2EWoxbSUyRfSumwkhnaKgqEFSyE Ke0FWll8YVMhR/EcuP6k3vVK87X0tHCxqUxF5QMwng7DD/XQUKd6EgKvBi3AlPKg == DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=eMA7xO dAnEPuQ+V0xKJ6NWihGt/fN4sV9pAvhKavNHM=; b=KjyFSDtL45TKrC8jN8QgGk HymsulvUfJgnkr+zB4MuTW6am+l3YuJhbDb6maspnkdcY0if4n7hWUwDjbeBzrak i9CbgeFUTWWu1ZHx3FSwofnb0QxtyVkzua9uUZOfGq56KceQiU/SkI/tuiaio5em zu/o5xocmCfTFSh9+N8r3CGz7kV9eoWxhUqhrxBkl739WLsh/0/lrtOnF5r+/OgM 6QJKLmOwB4DxupvUEE5+/87QFVvKeZhDgXK2PW8n/vcMu6Van6k0On58uHngCkF7 jb+pBT28InSqQ12nbvjRI1t6CRQ1RkufKSXhc+L/KwUqLmuVD6KM9ZL8iEqDQVdg == X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Proxy: X-ME-Sender: Message-Id: <1528483095.1959306.1401324560.4120FDF5@webmail.messagingengine.com> From: Daniel Shahaf To: Nicholas Wiles , zsh-users@zsh.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" X-Mailer: MessagingEngine.com Webmail Interface - ajax-ca618090 References: Date: Fri, 08 Jun 2018 18:38:15 +0000 Subject: Re: Question about matching completions with descriptions In-Reply-To: Nicholas Wiles wrote on Fri, 08 Jun 2018 11:13 -0700: > I have a question about the _describe builtin. > I am building a binary that provides dynamic completions using a completion > function. > > Is to possible to provide completions to _describe that will be matched not > only on the text of the completion but also on words/text in the > description? I asked this once and the answer was that that wasn't possible. I'd have linked you to the thread but I looked for it and can't find it :( > Or, is it possible to turn off completion matching entirely > and have zsh present the user with a verbatim set of completions provided > to compadd or _describe? Thanks in advance! Does passing -U (and possibly -V) to compadd do what you need?