gvfs installs a module for bash-completion in /etc/profile.d/gvfs-bash-completion.sh but the correct location for bash-completion modules is /usr/share/bash-completion (a correct name for the module should be simply /usr/share/bash-completion/gvfs). Currently, the gvfs module can not be handled (enabled/disabled) by 'eselect bashcomp' and is always enabled, because /etc/profile.d/* is sourced at login time. Reproducible: Always Steps to Reproduce:
Created attachment 151446 [details, diff] Patch to make bash-completion optional This patches gvfs to provide a couple of handy configure options w.r.t. bash-completion (enable/disable, directory to install to).
Created attachment 151447 [details, diff] Patch to gvfs-0.2.3.ebuild to make bash-completion optional
(In reply to comment #1) > Created an attachment (id=151446) [edit] > Patch to make bash-completion optional > > This patches gvfs to provide a couple of handy configure options w.r.t. > bash-completion (enable/disable, directory to install to). Submitted upstream at http://bugzilla.gnome.org/show_bug.cgi?id=530772
Created attachment 153733 [details, diff] Patch to gvfs-0.2.3.ebuild to make bash-completion optional This is the patch that made it to upstream svn.
I pushed a variation of Arun's patch to CVS yesterday as gvfs-0.2.5-r2. Thanks for the patches!