mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-27 02:33:39 +08:00
Merge pull request #917 from agate/patch-1
added "publish" and "track" command completion for git-flow plugin
This commit is contained in:
commit
980aaddb03
|
@ -88,6 +88,8 @@ __git-flow-release ()
|
||||||
'start:Start a new release branch.'
|
'start:Start a new release branch.'
|
||||||
'finish:Finish a release branch.'
|
'finish:Finish a release branch.'
|
||||||
'list:List all your release branches. (Alias to `git flow release`)'
|
'list:List all your release branches. (Alias to `git flow release`)'
|
||||||
|
'publish: public'
|
||||||
|
'track: track'
|
||||||
)
|
)
|
||||||
_describe -t commands 'git flow release' subcommands
|
_describe -t commands 'git flow release' subcommands
|
||||||
_arguments \
|
_arguments \
|
||||||
|
@ -115,6 +117,16 @@ __git-flow-release ()
|
||||||
':version:__git_flow_version_list'
|
':version:__git_flow_version_list'
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
(publish)
|
||||||
|
_arguments \
|
||||||
|
':version:__git_flow_version_list'\
|
||||||
|
;;
|
||||||
|
|
||||||
|
(track)
|
||||||
|
_arguments \
|
||||||
|
':version:__git_flow_version_list'\
|
||||||
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
_arguments \
|
_arguments \
|
||||||
-v'[Verbose (more) output]'
|
-v'[Verbose (more) output]'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user