benknoble/Dotfiles

Bash completion for git broken

benknoble opened this issue · 1 comments

Not only does g not work at all, but I have to manually source /usr/local/etc/bash_completion.d/git-completion.bash in order to make it work.

I don't use Bash interactively any more, so it's probably not a big deal, but it's annoying.

If I add an echo 'Installed Git completion' to the end of that script, I see it twice when launching alacritty -e bash. But complete -p | grep git shows that Git completion is not properly set for git; sourcing the file interactively shows the message, and then complete -p | grep git shows the expected stuff.

Closed by removing hub, which interferes with git.