From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24686 invoked by alias); 4 Jul 2017 11:22:37 -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: 22763 Received: (qmail 3025 invoked from network); 4 Jul 2017 11:22:36 -0000 X-Qmail-Scanner-Diagnostics: from mail-oi0-f45.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.218.45):SA:0(0.5/5.0):. Processed in 1.277923 secs); 04 Jul 2017 11:22:36 -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.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_SPAM, SPF_PASS,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: filipe.silva@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.218.45 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=khR+llYYoe1XCUNI/DcWlIp4h2Dtt8ue1DcTwGr5OLs=; b=iReCz2katKzhDNvJi5h2U6EaNMpUxleoB9qwUK0hg93M2W2Jo9vcwLAwnqb4W8obnq Zxj8qHw5eicGHMEABqicidHMf6ZT32vpApUtP09zsJSnOAYmwwCk/z6PL6Dk5DS2l9jH 9rajW5ke8K8YBd5vO+XFqmRghO9NynSQFz2qEq/5mTYRfDqji059WirKcTVGVQNTjr+U IdDAtuDdBNaN7bovrrY7Sy/0GAx06x3vJtlgfKBUrztHjqoyVRZTnR0T3fpdnpKbqIbo oJxUqb7IMLcnd5pwSE0yYIlXv+OXrsdXpWiQtQo+czHt/2g4QvrlecAoXrXcH0be35PF iOzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=khR+llYYoe1XCUNI/DcWlIp4h2Dtt8ue1DcTwGr5OLs=; b=JwJ8gIzE6+vH1p+1x4ZMXEbs2hwzRVeYldZn+vYLiamIpH2mqUOjuPU9lDS1E2osYp n1xgq1YBpqCY9RHiLZq/OiQH7CQvT1P6lNuG3STXrsGtoaiW+Gcd5auQ12OySAl6InI2 qDZ6dQzk7NYagjTsxTgtgt+7sl9Yi2Aev0lEvoZ9CWyet4qPcTMC2Ny56BuINqVHHLM6 eDxHGRYZorhqSRm+0FmqvsJKJNYiUpDdfR+li+71UTJ7Vl3J9kwAaTfN+aYZieKxBbjH 3sMVRSo9q8P4Syc5giwwmQX8aS1CiBvr9d/vK7mNV9DbBPvJJ0rGK54+K7hd+351f1dY c4eA== X-Gm-Message-State: AIVw111OyXcV0WLd5TnL03ifxEk1f7ZQoLyL6VjK7M/tDb2aLB67OG77 aaOs4UjLn0lRUkZDtv1f9jJiraFjTw== X-Received: by 10.202.222.139 with SMTP id v133mr1106062oig.42.1499167350910; Tue, 04 Jul 2017 04:22:30 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170703124730.16e316a8@pwslap01u.europe.root.pri> References: <20170702182042.2c129fde@ntlworld.com> <20170703124730.16e316a8@pwslap01u.europe.root.pri> From: Filipe Silva Date: Tue, 4 Jul 2017 08:22:30 -0300 Message-ID: Subject: Re: make zstyle ignore both _* and __* commands To: Peter Stephenson Cc: Zsh Users Content-Type: multipart/alternative; boundary="001a113d625068f57505537c1979" --001a113d625068f57505537c1979 Content-Type: text/plain; charset="UTF-8" Hi Peter, this is great, did not know about that. Is there a way to insert a newline after the headers? I tried \n and \\n but it did not render the expected result. On Mon, Jul 3, 2017 at 8:47 AM, Peter Stephenson wrote: > On Sun, 2 Jul 2017 18:37:14 -0300 > Filipe Silva wrote: > > omg, you are absolutely right. It should do already this because of the > > regex. > > I'm so ashamed of myself. > > > > All right, I did found a case where this does not work. > > > > if I type d_[tab] it shows this: http://imgur.com/ZSBZHvp (notice the > > __fast_highlight...) > > __fast_highlight doesn't occur in the zsh source tree, so that's in some > library you've got. I would guess it's not being matched as a function > at all, otherwise it's no different from the other cases. Maybe it's a > variable; you can complete those in command position for assignment > purposes. > > You'll probably find it helps to have headers for different types of > match turned on for this sort of purpose --- try: > > zstyle ':completion:*' format 'Completing %d' > zstyle ':completion:*' group-name '' > > pws > --001a113d625068f57505537c1979--