Prior to upgrading to version 20081219-r1, bash-completion for git worked just fine. That is, when I typed git <TAB><TAB>, git commands were given. Now, filenames are shown, which looks like it's falling back on something else. I just reverted to version 20060301, and completion works here. Reproducible: Always Steps to Reproduce: 1. Install app-shells/bash-completion-20081219-r1 2. Go to a git repo (not sure if you need to be in one) 3. Type git <TAB><TAB> Actual Results: Filenames in the directory are shown. Expected Results: Git command options (commit, etc.) should be shown.
(In reply to comment #0) > I just reverted to version 20060301, and completion works here. Which suggests that you didn't enable the b-c module properly. Please show the output of ls -l /etc/bash_completion.d/ & eselect bashcomp list
Created attachment 186134 [details] My /etc/bash_completion.d directory
Created attachment 186135 [details] The results of "eselect bashcomp list"
As an additional note, when I reverted, I re-did the thing about sourcing /etc/profile.d/bash-completion from my .bashrc, then when I upgraded, removed it as per the instructions. I also tried leaving it in, but it doesn't seem to help.
(In reply to comment #4) > As an additional note, when I reverted, I re-did the thing about sourcing > /etc/profile.d/bash-completion from my .bashrc, then when I upgraded, removed > it as per the instructions. I also tried leaving it in, but it doesn't seem to > help. > Oh, you still need to source /etc/profile.d/bash-completion.sh, do you do that?
I do now. That fixes the problem. Ah... Okay, after reading the instructions *yet again* in the elog notice: "if you use non-login shells..." -- I misread that. My bad. Well, I'm glad this isn't a bug.
(In reply to comment #6) > My bad. Well, I'm glad this isn't a bug. No worries.