eselect bashcomp enable base
eselect bashcomp enable ssh
Then add this to your ''.bashrc'':
source /etc/profile.d/bash-completion.sh
== Gentoo bashcomp modules ==
Here's a generic list of some possibly-helpful bash-completion modules: [[http://beandog.digitaltrike.com/gentoo/bash/bashcomp-modules]]