[Bash-completion-devel] After adding bash-completion to .bashrc loading prompt is slow

Ville Skyttä ville.skytta at iki.fi
Tue Apr 5 19:42:16 UTC 2011


On 04/05/2011 07:47 PM, Ville Skyttä wrote:

> What I'm going to experiment with next is getting a list of all commands
> available on the system at start of bash_completion, and making have()
> look up from that list instead of doing the "type" for them.

Nah, that (see attachment) made things slower on all systems I tried,
and the functionality wasn't even quite the same.  All of them had the
full set of completion files installed.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testing.patch
URL: <http://lists.alioth.debian.org/pipermail/bash-completion-devel/attachments/20110405/9c99f219/attachment.asc>


More information about the Bash-completion-devel mailing list