72aeaa9d9ee55fbfe15b371c0bf127ab3948a965

Author
Hao Hong <agate.hao@gmail.com>
Committer
Hao Hong <agate.hao@gmail.com>
Date

Message

added "publish" and "track" command completion for git-flow plugin

Diff

 1diff --git a/plugins/git-flow/git-flow.plugin.zsh b/plugins/git-flow/git-flow.plugin.zsh
 2index 270bcbe389b79224d4725e45be39abb4c3823829..b94f1a81f3333599ec4af65e576d442e759d4448 100644
 3--- a/plugins/git-flow/git-flow.plugin.zsh
 4+++ b/plugins/git-flow/git-flow.plugin.zsh
 5@@ -88,6 +88,8 @@ __git-flow-release ()
 6 				'start:Start a new release branch.'
 7 				'finish:Finish a release branch.'
 8 				'list:List all your release branches. (Alias to `git flow release`)'
 9+				'publish: public'
10+				'track: track'
11 			)
12 			_describe -t commands 'git flow release' subcommands
13 			_arguments \
14@@ -113,6 +115,16 @@ __git-flow-release ()
15 						':version:__git_flow_version_list'
16 				;;
17 
18+				(publish)
19+					_arguments \
20+						':version:__git_flow_version_list'\
21+				;;
22+
23+				(track)
24+					_arguments \
25+						':version:__git_flow_version_list'\
26+				;;
27+
28 				*)
29 					_arguments \
30 						-v'[Verbose (more) output]'