diff options
author | Robby Russell <robby@planetargon.com> | 2013-04-23 21:17:34 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-04-23 21:17:34 -0700 |
commit | 980aaddb03915efc19b625f7419a1b630ed983a0 (patch) | |
tree | 559e0facfe83ef968b78042fcc44e95ac46d98f0 /plugins/git-flow | |
parent | 6637c29b1ec1859740bc649172a2c97b65b7014c (diff) | |
parent | 72aeaa9d9ee55fbfe15b371c0bf127ab3948a965 (diff) | |
download | zsh-980aaddb03915efc19b625f7419a1b630ed983a0.tar.gz zsh-980aaddb03915efc19b625f7419a1b630ed983a0.tar.bz2 zsh-980aaddb03915efc19b625f7419a1b630ed983a0.zip |
Merge pull request #917 from agate/patch-1
added "publish" and "track" command completion for git-flow plugin
Diffstat (limited to 'plugins/git-flow')
-rw-r--r-- | plugins/git-flow/git-flow.plugin.zsh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh index ec21019e6..ab9c0c848 100644 --- a/plugins/git-flow/git-flow.plugin.zsh +++ b/plugins/git-flow/git-flow.plugin.zsh @@ -88,6 +88,8 @@ __git-flow-release () 'start:Start a new release branch.' 'finish:Finish a release branch.' 'list:List all your release branches. (Alias to `git flow release`)' + 'publish: public' + 'track: track' ) _describe -t commands 'git flow release' subcommands _arguments \ @@ -115,6 +117,16 @@ __git-flow-release () ':version:__git_flow_version_list' ;; + (publish) + _arguments \ + ':version:__git_flow_version_list'\ + ;; + + (track) + _arguments \ + ':version:__git_flow_version_list'\ + ;; + *) _arguments \ -v'[Verbose (more) output]' |