DJ Lucas wrote: > On 09/10/2011 11:49 PM, DJ Lucas wrote: >> Grub and GLib both install bash completion scripts. Need to add >> something to the default /etc/profile in the book to take advantage of them. >> >> Additionally, the one for grub is broken currently looking for a have() >> function, which for distros is usually defined in /etc/bash_completion.
I see where this is installed, but I don't see where it is used. > And it gets worse: The gdbus one requires _get_cword() from a Debian > package called bash-completion-lib. Grub requires 2 more from the same > package: filelist(), _get_longopt(), and _filelist() is dependent on > _expand(). There was a Google code project > (http://code.google.com/p/bash-completion-lib/) that doesn't cover > _split_longopt() (following). Last release was in Feb of 2009, but I > haven't found where the Debian one is developed yet. What functionality fails if these are missing? Overall, I think this is stupid. These are library functions. Why are they in /etc instead of /lib. DJ, I know you are just describing things. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page