summaryrefslogtreecommitdiff
path: root/bash_completion
diff options
context:
space:
mode:
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion4
1 files changed, 1 insertions, 3 deletions
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
}