Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: