Use improved process name completion in pgrep in addition to killall.
This commit is contained in:
parent
14c641aea5
commit
db00d73296
@ -1072,9 +1072,7 @@ _pgrep()
|
|||||||
COMPREPLY=()
|
COMPREPLY=()
|
||||||
cur=`_get_cword`
|
cur=`_get_cword`
|
||||||
|
|
||||||
COMPREPLY=( $( compgen -W '$( command ps axo command | \
|
_pnames
|
||||||
sed -ne "1d; s/^\[\?\([^-][^] ]*\).*$/\1/p" | \
|
|
||||||
sed -e "s/.*\///" )' -- $cur ) )
|
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -125,6 +125,7 @@ bash-completion (200902xx) UNRELEASED; urgency=low
|
|||||||
* Extract process name completion from _killall to _pnames, make it work
|
* Extract process name completion from _killall to _pnames, make it work
|
||||||
for others than Linux and FreeBSD.
|
for others than Linux and FreeBSD.
|
||||||
* Fix process name completion with relative paths (RHBZ: #484578).
|
* Fix process name completion with relative paths (RHBZ: #484578).
|
||||||
|
* Use improved process name completion in pgrep in addition to killall.
|
||||||
|
|
||||||
[ Freddy Vulto ]
|
[ Freddy Vulto ]
|
||||||
* Restored `_display()' completion for `display' by removing
|
* Restored `_display()' completion for `display' by removing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user