diff options
| author | Hao Hong <agate.hao@gmail.com> | 2012-02-06 15:51:31 +0800 | 
|---|---|---|
| committer | Hao Hong <agate.hao@gmail.com> | 2012-02-06 15:51:31 +0800 | 
| commit | 72aeaa9d9ee55fbfe15b371c0bf127ab3948a965 (patch) | |
| tree | 260a3c65c9787421a9e173fad1d92bdcd9ec9e82 /plugins/git-flow | |
| parent | 362927003bcd8052e294dcbdf14f061ef4f2e173 (diff) | |
| download | zsh-72aeaa9d9ee55fbfe15b371c0bf127ab3948a965.tar.gz zsh-72aeaa9d9ee55fbfe15b371c0bf127ab3948a965.tar.bz2 zsh-72aeaa9d9ee55fbfe15b371c0bf127ab3948a965.zip | |
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 270bcbe38..b94f1a81f 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 \ @@ -113,6 +115,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]' | 
