bash-completion (useflag) doesn't really install the completions provided by packages. I've to run bash-completion-config or eselect to install them. There should be a way to install them by default. Reproducible: Always Steps to Reproduce: stovokor ~ # emerge info Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r10 i686) ================================================================= System uname: 2.6.12-gentoo-r10 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control /var/www/" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/local/portage/distfiles" FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms strict titles userpriv" GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror http://www.ibiblio.org/pub/Linux/distributions/gentoo " LC_ALL="en_US.utf8" MAKEOPTS="-j3" PKGDIR="/usr/local/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/local /usr/local/portage/eix1 /usr/local/portage/eix2" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow X aac alsa apm attr avi bash-completion bitmap-fonts cdr chroot crypt cscope cups curl dba directfb disablexmb divx4linux dvd dvdr emboss encode fam fbcon flac font-server foomaticdb gd gdbm gstreamer gtk gtk2 guile hyriand imagemagick imap imlib imlib2 ithreads javascript jpeg libg++ libwww lynxkeymap mad matroska mbox mikmod mmx mp3 mpeg ncurses nfs nntp nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python quicktime readline reiserfs samba sasl sdl sensord slang sox sqlite sse ssl svga tabs tcpd tetex threads tiff truetype truetype-fonts type1-fonts unicode userlocales utf8 vimi vorbis win32codecs xine xml xml2 xosd xrandr xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
We're not doing it by default because it can make bash pretty slow if you have a lot of packages installed. The post install messages for any package providing completion should tell you how to enable completion.
(In reply to comment #1) > We're not doing it by default because it can make bash pretty slow if you > have a lot of packages installed. The post install messages for any package > providing completion should tell you how to enable completion. Is this argument still valid today? I have ~200 completion modules turned on and bash runs fine as far as speed is concerned. I have the bash-completion USE flag on, because I want to have that feature available. For everything, of course - who knows what command I'll use tomorrow. Having to enable bashcomp modules manually is a nuisance to me. Sure, I've got a powerful CPU (read: common; not embedded), but most people do. Those who don't are a minority, AFAIK, and will have to turn off the modules manually - if they use bashcomp at all, that is.