summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/completions/_pkill3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/completions/_pkill b/etc/completions/_pkill
index 35f5082..150cf32 100644
--- a/etc/completions/_pkill
+++ b/etc/completions/_pkill
@@ -42,7 +42,8 @@ function _named_process {
if (( EUID )) {
pgrep_user=(-u $EUID)
}
- _wanted pattern expl 'pattern or process name' \
+ _message 'pattern'
+ _wanted pattern expl 'process name' \
compadd ${$(pgrep $pgrep_user -l '')#* }
}