bash-completion/bash-completion-20060301-yum-available-speedup-478784.patch
Ville Skyttä ea0d49473c - 20080705; new upstream at http://bash-completion.alioth.debian.org/
- Perl, Debian, and scp patches applied upstream.
- Patch to improve man completion: more sections, better filename handling.
- Patch to speed up yum install/deplist completion (#478784).
- Patch to fix and speed up rpm installed packages completion.
- Update mock completion.
2009-01-06 18:44:43 +00:00

12 lines
422 B
Diff

--- bash_completion~ 2008-09-11 21:22:40.000000000 +0300
+++ bash_completion 2009-01-05 18:47:08.000000000 +0200
@@ -6352,7 +6352,7 @@
if [ -n "$special" ]; then
case $special in
install|deplist)
- COMPREPLY=( $( compgen -W '$( yum -C list | cut -d" " -f1 )' -- $cur ) )
+ COMPREPLY=( $( compgen -W "$( yum -d 0 -C list available "$cur*" | cut -d' ' -f1 )" -- $cur ) )
return 0
;;
*)