From db00d73296c69f38ed0193dd4e41b50da0bcfc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Sun, 15 Feb 2009 18:53:09 +0200 Subject: Use improved process name completion in pgrep in addition to killall. --- bash_completion | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'bash_completion') diff --git a/bash_completion b/bash_completion index 383d23ee..542031b5 100644 --- a/bash_completion +++ b/bash_completion @@ -1072,9 +1072,7 @@ _pgrep() COMPREPLY=() cur=`_get_cword` - COMPREPLY=( $( compgen -W '$( command ps axo command | \ - sed -ne "1d; s/^\[\?\([^-][^] ]*\).*$/\1/p" | \ - sed -e "s/.*\///" )' -- $cur ) ) + _pnames return 0 } -- cgit v1.2.1