From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7297 invoked by alias); 19 Jul 2016 19:39:45 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38887 Received: (qmail 15514 invoked from network); 19 Jul 2016 19:39:45 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f171.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.171):SA:0(0.0/5.0):. Processed in 0.098166 secs); 19 Jul 2016 19:39:45 -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=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=B7F9m//D2BlOIVeQX1IsBp2bvud+5CuShyC9QscX59k=; b=Zl+xm3+ytHcrYX/RL+Hd6+Um4yfGroEXH+ruUwAauT1k+nrXLGDh4wgeZ/zVQ4oi7h wNP/WeQenupMvx9LQFQtkrjmwMkiXLxm/KEGbuO+udKTXTzLAKa4K0nqtove31+NAYcp yRget6la6VQbZe5a0dSu4uokp0w4QoYp/vbzuFdm5gbdY5MjOq/p224wiwyAZb+KtlDJ vaaHb+/gQJHYOlpnQ5R4/Pb44c0n5jYsm+5J1pE/7VL4jtfFtDnZW7HaGPjUUOpGmo91 e6rIpKzSid0t/rOMWeJFdynX8KhN5vfB4b9AVJvN9xzz14o8m+t9P4HAhOiYUOw5QNL+ fWuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=B7F9m//D2BlOIVeQX1IsBp2bvud+5CuShyC9QscX59k=; b=EgIjW2fPigQxo2l8IvLUBMQlPOMDBDWklLTHZ8k6JiaL4Mr5Ur/3CDL3rYogrVXkjJ Sg+z3yPjYxB8gr74nJ+z6RUxPJe9NTXYtutUez/tLqZxZEl4pFknGF3MSyGsuoH+mxKC 4DhxC89C2QXZm615Pu/HNz1pwDqsPASOybSsGM4B31SKf4gRrrZd0w6bfHYGF1NkaxMn bkVj0pSxN6aiHP17P1J+w7vYe4sTBR9p/xOUstNm55clGjym3z2Rf6yl4geUo7DzbwAS W+39PQhahfgZEP1uMevBu1xaXu6EHawRCBonQEiTuN/KpP0IW0TGFPch/A2e1BeQ/LMG WkqQ== X-Gm-Message-State: ALyK8tKXOaObkH3DGQcgtKl7M+LkiDkulwcbitugccqKkhNtieRoXRjA19mxfuWI8v6pnQ== X-Received: by 10.98.88.5 with SMTP id m5mr58466067pfb.27.1468957175640; Tue, 19 Jul 2016 12:39:35 -0700 (PDT) From: Bart Schaefer Message-Id: <160719105859.ZM8568@torch.brasslantern.com> Date: Tue, 19 Jul 2016 10:58:58 -0700 In-Reply-To: <43719.1468924205@hydra.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: [PATCH] _add-zle-hook-widget: New completion." (Jul 19, 12:30pm) References: <160716185103.ZM5258@torch.brasslantern.com> <1468767614-9635-1-git-send-email-danielsh@tarsus.local2> <91351.1468835277@hydra.kiddle.eu> <160718083025.ZM4767@torch.brasslantern.com> <43719.1468924205@hydra.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: [PATCH] _add-zle-hook-widget: New completion. MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 19, 12:30pm, Oliver Kiddle wrote: } } For the hook types, I wonder if the best choice might be -M 'L:|=zle-' } along with including zle- in the matches. That allows partial completion } to work. I tried that but it adds the trailing space after "zle- " -- I suppose it could be added with a separate call (compadd -S '' zle-) instead of just added to the array of hook types.