summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_pgrep
diff options
context:
space:
mode:
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 '*-' )