From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10085 invoked by alias); 13 Mar 2017 00:38:41 -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: 40838 Received: (qmail 17592 invoked from network); 13 Mar 2017 00:38:41 -0000 X-Qmail-Scanner-Diagnostics: from mail-yw0-f195.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.161.195):SA:0(0.5/5.0):. Processed in 1.377939 secs); 13 Mar 2017 00:38:41 -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=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: lists@eitanadler.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.161.195 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=kF+3QKb4dkeArywCJrjOWvZ6r8SOpk3446u4w2ot3Fo=; b=lUexE3qvbjGwo0vQcqh2TAFJuj435CNhDdpVfQGT5eY53uqNIy35gPGshkOr6t17s+ BA010LMbiVVH6cGrvX4uoRZHeXsKjxNmh+wWblIDcmdFGXDE3nlONb87IBS62a7nwDt/ CQv5L9Qpc1jO3YcL2V6u8HOZsdZBA5H9rFFPE= 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=kF+3QKb4dkeArywCJrjOWvZ6r8SOpk3446u4w2ot3Fo=; b=P/8XE/g4gsW6fPUmd7jrir8WxjvDJIFapgR3V3l3WKmRmfcDug+iIV7AE0ept57Vcq 7VRnoWbbWanbvh8a/96jdjl1WxIU9UeJIrfnbY4ypP9iNGoZYuHiUZk7xdEdNR+lBQj4 GRTAuAmQTO1RNjYzlnPBjATm6zx9e/7NIKnmXMcd3vC/D4ps9TiPLpw0UGXtJGnrkGkL WkSLxuF7ZUGiGVPp2njst6urzZeoYmWJtnVfOdkzaIusLD5z4k51ZbwMkVFYR3OdwmYM NKkjtOftkisz0b5Ax7D7OsiZlSg3slfZ6l2THiUCKLMKOA5+h8NvG5dY2ITM4lzoxCu/ YOLA== X-Gm-Message-State: AMke39mIDkO65WbEvp1LzACWJDB1VVJOR2urd8ae0eVlhtBGyAwB0+6KJ7beOQgixe4b9NOLrZC7flkQXO0J6Q== X-Received: by 10.37.214.214 with SMTP id n205mr16112349ybg.135.1489365512685; Sun, 12 Mar 2017 17:38:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20170312101630.29242-1-themineo@gmail.com> References: <20170312101630.29242-1-themineo@gmail.com> From: Eitan Adler Date: Sun, 12 Mar 2017 17:38:01 -0700 Message-ID: Subject: Re: [PATCH] _pgrep: Add -w on Linux To: Wieland Hoffmann Cc: Zsh hackers list Content-Type: text/plain; charset=UTF-8 On 12 March 2017 at 03:16, Wieland Hoffmann wrote: > @@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid' > '-q[do not write anything to standard output]' > '-S[search also in system processes]' > '-v[negate matching]' > + '-w[show thred ids instead of pids]' ^ "thread" ? > '-x[match exactly]' > '-z[match only in zones]:zone:_zones') > > @@ -41,7 +42,7 @@ fi > local optchars -- Eitan Adler On 12 March 2017 at 03:16, Wieland Hoffmann wrote: > This was added in procps-ng 3.3.7. > --- > Completion/Unix/Command/_pgrep | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep > index 0b7d23d4d..913805bc1 100644 > --- a/Completion/Unix/Command/_pgrep > +++ b/Completion/Unix/Command/_pgrep > @@ -28,6 +28,7 @@ arguments=('-P[parent process id]:parent process id:->ppid' > '-q[do not write anything to standard output]' > '-S[search also in system processes]' > '-v[negate matching]' > + '-w[show thred ids instead of pids]' > '-x[match exactly]' > '-z[match only in zones]:zone:_zones') > > @@ -41,7 +42,7 @@ fi > local optchars > case "$OSTYPE" in > linux*) > - optchars="cflvxdnoPgsuUGt" > + optchars="cflvxdnoPgsuUGtw" > ;; > freebsd*) > optchars="LSafilnoqvxFGMNPUdgjstu" > -- > 2.12.0 > -- Eitan Adler