From 5fa422b246d3fa8be5b1c876525e415d8c4834b1 Mon Sep 17 00:00:00 2001 From: Wieland Hoffmann Date: Sun, 12 Mar 2017 11:16:30 +0100 Subject: 40837: for pgrep completion, add -w on Linux --- ChangeLog | 5 +++++ Completion/Unix/Command/_pgrep | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fe0446ed4..4d305d06f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-03-12 Oliver Kiddle + + * Wieland Hoffmann: 40837: Completion/Unix/Command/_pgrep: + add -w on Linux + 2017-03-12 Daniel Shahaf * 40816: Doc/Zsh/builtins.yo, Test/D01prompt.ztst: Document 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" -- cgit 1.4.1