diff -up bash-completion-1.0/bash_completion~ bash-completion-1.0/bash_completion
--- bash-completion-1.0/bash_completion~ 2009-04-02 23:01:39.000000000 +0300
+++ bash-completion-1.0/bash_completion 2011-04-15 23:12:46.497273696 +0300
@@ -182,7 +182,11 @@ complete -b builtin
have()
{
unset -v have
- PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin type $1 &>/dev/null &&
+ # In this packaged setup we don't need to do the availability test
+ # below because only completions for commands that are actually
+ # available should be in /etc/bash_completion.d anyway; not doing the
+ # test improves our load time significantly.
+ #PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin type $1 &>/dev/null &&
have="yes"
}