From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6610 invoked by alias); 12 Oct 2017 16:19:53 -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: 22935 Received: (qmail 16483 invoked by uid 1010); 12 Oct 2017 16:19:53 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f173.google.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(209.85.192.173):SA:0(-4.2/5.0):. Processed in 0.927847 secs); 12 Oct 2017 16:19:53 -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=-4.2 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_SPAM,SPF_PASS, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: nhwiles@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=loa98QSTeWkEfK7BeF2w1uDGUTOVEwZU0jx5sWUtYV0=; b=SglB0GVH7VGhqVcdwQ2Vnhp0MGFS/ggYtXQrNv4OLzR4cC+mgAcEiqgr3BeYk45X2i brjYpkPDFt+CVyX2GSzw74G+b7sBh0OTcKFBX/KR62ussPK6unxaesXuNN0BT2HRsBQq rotrFcgKIdd7tzAN3V4l60qZrost3r2toCVDvehOhbWtOvtFmxtJx6k7ehLt3akTzaOa 5FuaqZPMC/COMU5cJaDSMgRQ6sPOvJdy3FEa90PIlB4FYVop4Fz6gzK+g1rIvdMH3Cn/ Cs7bxqsajsK/A/4yqnqPAmNEMR8RdDo3WD5Af53uqJ5qIAlQka9lKEXl1T+4ZN3dKbhg xMGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=loa98QSTeWkEfK7BeF2w1uDGUTOVEwZU0jx5sWUtYV0=; b=DE3/ZJq/Ra/JDgnBauKAZSW59KUynilhV1ImxxIwbgqtcWT82FmbYqN6P/vRfDcWGG DLtx/12OhI/8ZesOejxM2yWdlsL1wPdn+IZTwNlq4wkmRfK4LBfTsLN4RHSEB0sDjPQ8 SzZGr8iPdQbPPb25aSJKrCDKpWLY76Is8Fb8HHmyBmK0VGquD4S4t1qc37lMN0DYSYzJ 4LiIq+WEN0UggFaDAdprmtb/iLj2n6r0mDJ4c8lizeVWnFyK89YKFkr/QWGsIDowW5qt UD8MRSmeq7yvv7b8b9uJQRCPBFeIzESFs3kiey9IGz9pPVGe2C6241xuU0fEM/rBVqxI GLLA== X-Gm-Message-State: AMCzsaU4VVU6PcZlrDalYnEV6vMVfuORRfPXI4ZQ3cHin2x90HlTJCd6 +MEKKg1vyXtW19GtnSQms/nrCxlR X-Google-Smtp-Source: AOwi7QDebkxNPvbh/RJmcTCx3OxMste2C19ydbgMrXYkabsCLpt88oSRIsMdGb0jgsrb6oBJqBLakg== X-Received: by 10.84.194.226 with SMTP id h89mr31623pld.54.1507825189449; Thu, 12 Oct 2017 09:19:49 -0700 (PDT) From: Nicholas Wiles Content-Type: multipart/alternative; boundary="Apple-Mail=_617725F5-1991-4474-9836-A9B2E70AF253" Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Using _describe for completions. Message-Id: <5CD230C2-0103-456B-A567-F63FE6CECFE1@gmail.com> Date: Thu, 12 Oct 2017 09:19:40 -0700 To: zsh-users@zsh.org X-Mailer: Apple Mail (2.3273) --Apple-Mail=_617725F5-1991-4474-9836-A9B2E70AF253 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hello fellow users, fist time poster. I apologize if this is not the = right place.=20 On zsh 5.2 I am trying to write a completion function using the = _describe builtin. __foo_complete_func() { list=3D(foo:'description for foo=E2=80=99 bar:'description for bar') _describe '=E2=80=99 list && _ret=3D0 } compdef __foo_complete_func foo When autocompleting just =E2=80=9Cfoo =E2=80=9D I get the expected: bar -- description for bar foo -- description for foo However when tab completing "foo b" I get no matches shown. I don=E2=80=99= t understand why this is. I would expect to get the completion "foo = bar=E2=80=9D Any ideas? Thanks in advance, Nic= --Apple-Mail=_617725F5-1991-4474-9836-A9B2E70AF253--