Moving bash-completion stuff to it's own library.