Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH v2] _pgrep: Add -w on Linux
- X-seq: zsh-workers 40847
- From: Wieland Hoffmann <themineo@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH v2] _pgrep: Add -w on Linux
- Date: Tue, 14 Mar 2017 20:28:12 +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:in-reply-to:references; bh=M/VZoBQNAdeFAFhfUs9kyVSIFvVKEXi+oW1DP0mA1IM=; b=Qvgv9SxjBIEvwDAIT1guQPQQP0/1sjPou29PsaXMuLrZTccHO0nozcYAjOi4hrzIRs gSjft0tMncC4SnlNHXAmwQk+eESNXFa9jtx1LvqU6LwRzvzqZLDL1WxltcvkKMs3YTNU ieJQPjtxbRJrkz4ESJiD3SK+91osT2qyZrwzEokk643eJ1TFejMV8f35wz++iUuedAt5 g+R3wOkRpRcVu+xyQh+K/yjx9NhWyu3LXWYrjf9sGMdfWa26jbN15xQcN3zBESfO+I5u u+QoT2aSm8kxSziNQ4qDcA5l3OSlyE5xNoIFGS3+hI/xl5JMZYT8FBEuPgFWAMi0ILpW hzEQ==
- In-reply-to: <20170312101630.29242-1-themineo@gmail.com>
- 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
- References: <20170312101630.29242-1-themineo@gmail.com>
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..c62b225ff 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 thread ids instead of process ids]'
'-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