kennethreitz/legit — pull request #22 by Autoplectic (2011-12-07 10:55:53+00:00)
Title: Add optional zsh completions

since i use zsh and legit, i figured i'd cobble this together.

__git_branch_names and __git_command_successful stolen from _git-flow @ https://github.com/zsh-users/zsh-completions

one limitation -- __git_branch_names only completes local branch names, not remote branches.

i'm also sure that there's all kinds of stuff that could be better, but it works for the basics.

-ryan