Hacker News new | ask | show | jobs
by basman 5507 days ago
I use the g=git alias :) Are there any negative consequences I should be aware of?
1 comments

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.