Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] _pgrep: Add -w on Linux
- X-seq: zsh-workers 40837
- From: Wieland Hoffmann <themineo@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] _pgrep: Add -w on Linux
- Date: Sun, 12 Mar 2017 11:16:30 +0100
- Cc: Wieland Hoffmann <themineo@xxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cCFT/Bbb1iA3mZENUAoZo6OXMRrm3W5ocwWFH4RfHcQ=; b=J53dW8jbngIDqZT/Ox7749Xyr2KdS7a5I0KvGeTwP3ctTQ3/DjQvyUOWjL4nrKZw0p laibBJcdLosh4+RTRv/MxgR0yCm8UGVx9xeB/PHe8/oyp+tZ9p+jkfMuThdrnkKUGuNH Nl6YiLb9gt8+BklssD4KvaPIc3LHuHjhRZKr0QhsLj+mNZBfXe5S3oQCcHuPAXJXirpr YS+g5nYhEgXKgNmM0lvDubygg5Rgh0B8nyEj4b/tht5Da02nSD/4AMJrq3DWR3IzXQ6N cAHhYDd6ri3rssdi323bYmIgc+PcX0nInyFuuynu44N5oX4+6QJEjBShvT0O04bAo8rB Gg/g==
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author