Hacker News new | ask | show | jobs
by Terhorst 5507 days ago
Tab-completion via git-completion.bash won't work. I think you can add the following at the end of git-completion.bash to fix it, though:

  complete -o bashdefault -o default -o nospace -F _git g 2>/dev/null \
    || complete -o default -o nospace -F _git g
1 comments

Tab-completion on my zsh setup still works. I'm not sure why.