diff options
author | Oliver Kiddle <opk@zsh.org> | 2021-08-29 17:08:34 +0200 |
---|---|---|
committer | Oliver Kiddle <opk@zsh.org> | 2021-08-29 17:08:34 +0200 |
commit | a9386df5581487e5e34ecb3ce422bacf62d10c3d (patch) | |
tree | 06f05ac1ef1e4d502ae50e42c3a5fc1dabbf8baa /Completion/Unix/Command/_pgrep | |
parent | 12676c0f9fd670556a81625f23205d832a95fb17 (diff) | |
download | zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.tar.gz zsh-a9386df5581487e5e34ecb3ce422bacf62d10c3d.zip |
49319: completion options update
Diffstat (limited to 'Completion/Unix/Command/_pgrep')
-rw-r--r-- | Completion/Unix/Command/_pgrep | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep index 38b1aebd8..afd2fe54b 100644 --- a/Completion/Unix/Command/_pgrep +++ b/Completion/Unix/Command/_pgrep @@ -31,6 +31,7 @@ arguments=( '(-M)-N+[extract name list from specified system]:system file:_files' '(-o -n --oldest --newest)'{-n,--newest}'[match newest process]' '(-o -n --oldest --newest)'{-o,--oldest}'[match oldest process]' + '(-O --older)'{-O+,--older=}'[select where older than specified age]:age (seconds)' '(-P --parent)'{-P+,--parent=}'[match only on specified parent process IDs]: :->ppid' '(-l)-q[suppress normal output]' '(-r --runstates)'{-r+,--runstates}'[match runstates]:run state:compadd -S "" D I R S T t W X Z' @@ -62,8 +63,8 @@ arguments=( case $OSTYPE in linux*) # Note: We deliberately exclude -v but not --inverse from pkill - pgopts=acdFfGghLlnoPrstUuVvwx- - pkopts=ceFfGghLnoPstUuVx- + pgopts=acdFfGghLlnoOPrstUuVvwx- + pkopts=ceFfGghLnoOPstUuVx- arguments=( ${arguments:#((#s)|*\))(\*|)-[acl]*} '(-c --count)'{-c,--count}'[display count of matching processes]' |