about summary refs log tree commit diff
path: root/Completion/Linux/Command/_ionice
diff options
context:
space:
mode:
authorMatthew Martin <phy1729@gmail.com>2020-05-29 22:25:08 -0500
committerMatthew Martin <phy1729@gmail.com>2020-06-01 21:18:23 -0500
commit7ec05332a281ab0229a864bb4ccc4571e4f8ca1b (patch)
treea6174e6c2d6fa97749f8201844b8723a7d06fa4d /Completion/Linux/Command/_ionice
parent56fffd548203c3257d9fe05d75e36d8002b48bcc (diff)
downloadzsh-7ec05332a281ab0229a864bb4ccc4571e4f8ca1b.tar.gz
zsh-7ec05332a281ab0229a864bb4ccc4571e4f8ca1b.tar.xz
zsh-7ec05332a281ab0229a864bb4ccc4571e4f8ca1b.zip
45939: Add _pgids type
Diffstat (limited to 'Completion/Linux/Command/_ionice')
-rw-r--r--Completion/Linux/Command/_ionice4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Linux/Command/_ionice b/Completion/Linux/Command/_ionice
index d64f1c496..ba403ca56 100644
--- a/Completion/Linux/Command/_ionice
+++ b/Completion/Linux/Command/_ionice
@@ -17,14 +17,14 @@ _arguments -C -s -S \
   '(- *)'{-h,--help}'[display help information]' \
   + '(args)' \
   '(H)'{-p-,--pid=-}'[interpret args as process ID]::process id:_pids' \
-  '(H)'{-P-,--pgid=-}'[specify process group IDs]::process group' \
+  '(H)'{-P-,--pgid=-}'[specify process group IDs]::process group:_pgids' \
   '(H)'{-u-,--uid=-}'[act on running process owned by specified users]::user id' && ret=0
 
 if [[ -n $state ]]; then
   if (( $+opt_args[args--p] || $+opt_args[args---pid] )); then
     _pids && ret=0
   elif (( $+opt_args[args--P] || $+opt_args[args---pgid] )); then
-    _message -e pgids 'process group'
+    _pgids && ret=0
   elif (( $+opt_args[args--u] || $+opt_args[args---uid] )); then
     _message -e uids 'user id'
   else