From 08bb19a352baa5ee2fea7bf23aedf36066636783 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 15 Jan 2009 10:47:03 +0100 Subject: _pkill: More precise matching description --- etc/completions/_pkill | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc') 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 '')#* } } -- cgit v1.2.3