bobthecow / git-flow-completion

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

Oh my zsh integration #7

Closed curiousstranger closed 11 years ago

curiousstranger commented 13 years ago

Added symlink as suggested in documentation. Adding this allows your repository to easily be used as a submodule within oh-my-zsh.

bobthecow commented 13 years ago

I don't use zsh, so I could be way off base here, but would it make sense to just move the original file to git-flow-completion.plugin.zsh? It seems like that would allow it to be used as a zsh plugin or sourced in .zshrc.

curiousstranger commented 13 years ago

That works as well. The 'plugin' naming is just an oh-my-zsh convention. Folks not using oh-my-zsh wouldn't need it, but it shouldn't hurt.

curiousstranger commented 13 years ago

The goal is to be able to use the original repository as a submodule of oh-my-zsh, so either way, it'd be great to end up with the 'plugin' naming in your repository.