Skip to content

Loading…

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

Merged
merged 1 commit into from

3 participants

@agate

No description provided.

@piotryordanov

+1

Any chance of having that merged?

@robbyrussell robbyrussell merged commit 980aadd into robbyrussell:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Showing with 12 additions and 0 deletions.
  1. +12 −0 plugins/git-flow/git-flow.plugin.zsh
View
12 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]'
Something went wrong with that request. Please try again.