summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_pgrep
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-05-22 00:00:29 +0200
committerOliver Kiddle <opk@zsh.org>2021-05-22 00:05:54 +0200
commit0c14732cf740149aa906017938624db2e864f08e (patch)
tree23e05c877d65ae7a0dd26b7d3cfb3f0685f54ca1 /Completion/Unix/Command/_pgrep
parent891d361572f6db01434c21adb9b699d6a82dba80 (diff)
downloadzsh-0c14732cf740149aa906017938624db2e864f08e.tar.gz
zsh-0c14732cf740149aa906017938624db2e864f08e.zip
48897: completion updates for DragonFly 6.0 and OpenBSD 6.9
Diffstat (limited to 'Completion/Unix/Command/_pgrep')
-rw-r--r--Completion/Unix/Command/_pgrep4
1 files changed, 4 insertions, 0 deletions
diff --git a/Completion/Unix/Command/_pgrep b/Completion/Unix/Command/_pgrep
index 5b1853e6b..e10f42f53 100644
--- a/Completion/Unix/Command/_pgrep
+++ b/Completion/Unix/Command/_pgrep
@@ -125,6 +125,10 @@ else
fi
fi
+if [[ $OSTYPE = dragonfly* ]]; then
+ arguments+=( '(-t)-T[match only processes associated with the current terminal]' )
+fi
+
arguments+=( $sig_arguments + o '*: :->pname' )
[[ $OSTYPE == linux* ]] || aopts+=( -A '*-' )