[Bash-completion-devel] Mandriva handling of bash completion

Ville Skyttä ville.skytta at iki.fi
Sun Jan 18 22:36:06 UTC 2009


On Sunday 18 January 2009, David Paleino wrote:

> It's not smart loading everything on login, but it is doing it
> when the command is actually being completed. So it's really needed, apart
> from speed performance.

Dumb question: has anyone evaluated the performance characteristics of if 
completion modules were instead of sourced shell functions implemented as 
executable scripts (not necessarily even shell ones) that would just be 
called with the appropriate environment and options, and that would echo 
their results to stdout, and used with complete -C?  This way I suppose the 
amount of stuff to load at startup would decrease radically but the scripts 
would be continuously loaded and invoked anew for every completion in every 
shell.



More information about the Bash-completion-devel mailing list