diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Command/_pgrep | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index fe0446ed4..4d305d06f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-03-12 Oliver Kiddle <opk@zsh.org> + + * Wieland Hoffmann: 40837: Completion/Unix/Command/_pgrep: + add -w on Linux + 2017-03-12 Daniel Shahaf <d.s@daniel.shahaf.name> * 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" |