bobthecow / git-flow-completion

Bash, Zsh and fish completion support for git-flow.
MIT License
2.79k stars 386 forks source link

How to use as a plugin? #35

Closed tjfwalker closed 10 years ago

tjfwalker commented 10 years ago

How does one go about using git-flow-completion.zsh as a zsh plugin?

Thanks

bobthecow commented 10 years ago

If you use oh-my-zsh, I believe you just clone this repo to ~/.oh-my-zsh/plugins/custom/git-flow-completion.

tjfwalker commented 10 years ago

Alright, got it working. Thanks

By the way, I found that custom comes before plugins in the path. So you clone to ~/.oh-my-zsh/custom/plugins/git-flow-completion
screenshot 2014-08-09 10 32 21

Also, be sure to open the file ~/.zshrc and add git-flow-completion to plugins=() between the parenthesis along with whatever other plugins are already mention in the parenthesis.
screenshot 2014-08-09 10 28 47

bobthecow commented 10 years ago

Glad you got it worked out. Do you mind adding instructions to the README or the wiki?

tjfwalker commented 10 years ago

Sure thing. I'll have a pull request ready shortly.