Lists are filtered in the following way (/usr/share/bash-completion/bash_completion) grep -q -s "${1##*/}" /etc/bash/completion.blacklist which macthes any substrings in list instead of exact match. As effect of this bug eselect bashcomp doesn't work. Reproducible: Always Steps to Reproduce: 1. Disable all completions with eselect bashcomp disable * 2. Enable one with substr collisions, eselect bashcomp enable git 3. Completion for git doesn't work, shadowed with blacklisted gitk.
Created attachment 422932 [details, diff] 0001-Use-fixed-string-full-line-matches-for-white-blackli.patch Could you please apply this patch to /usr/share/bash-completion/bash_completion and test it?
*** Bug 574570 has been marked as a duplicate of this bug. ***
I can confirm that provided patch fixes the scenario described in Bug 574570
commit 79f27cc2135d1dc52bf8e0214c6b864ca4cf4657 Author: Michał Górny <mgorny@gentoo.org> Date: Fri Feb 19 14:26:56 2016 app-shells/bash-completion: Fix blacklist/whitelist matching, #574570