summaryrefslogtreecommitdiff
path: root/etc/completions/_pkill
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-01-15 10:47:03 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-01-15 10:47:03 +0100
commit08bb19a352baa5ee2fea7bf23aedf36066636783 (patch)
tree0e79ba38b3cb5de703aa5c7d18945ddac982836d /etc/completions/_pkill
parent3bb5fb43fa4351ac0d7d5de2276c679ac69a1d88 (diff)
_pkill: More precise matching description
Diffstat (limited to 'etc/completions/_pkill')
-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 '')#* }
}