File bash-completion-speedup_rpm.patch of Package bash-completion
--- /etc/bash_completion.orig 2008-06-07 16:03:42.000000000 +0200 +++ /etc/bash_completion 2008-06-23 08:43:18.000000000 +0200 @@ -1721,6 +1721,9 @@ COMPREPLY=( $( sed -ne \ 's|^\('$cur'.*\)-[0-9a-zA-Z._]\+-[0-9a-z.@]\+.*\.rpm$|\1|p' \ /var/log/rpmpkgs ) ) + elif command -v rpmqpack >/dev/null; then + # SUSE's rpmqpack is faster than rpm -qa + COMPREPLY=( $(rpmqpack | grep "^$cur") ) else nodig="" nosig=""