summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_pgrep
diff options
context:
space:
mode:
authorWieland Hoffmann <themineo@gmail.com>2017-03-12 11:16:30 +0100
committerOliver Kiddle <opk@zsh.org>2017-03-12 22:35:20 +0100
commit5fa422b246d3fa8be5b1c876525e415d8c4834b1 (patch)
tree34a1e330d3bf97028c72ef3f03f237e28c3c9f55 /Completion/Unix/Command/_pgrep
parentd044530afd34c9d281953e304e9b2a622cb0c0f0 (diff)
downloadzsh-5fa422b246d3fa8be5b1c876525e415d8c4834b1.tar.gz
zsh-5fa422b246d3fa8be5b1c876525e415d8c4834b1.zip
40837: for pgrep completion, add -w on Linux
Diffstat (limited to 'Completion/Unix/Command/_pgrep')
-rw-r--r--Completion/Unix/Command/_pgrep3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep
index 0b7d23d4d..714bf095b 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 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"