Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

New zsh completions + texting changes #20

Merged
merged 2 commits into from

2 participants

Serhiy Oplakanets Justin Hileman
Serhiy Oplakanets

Two small changes for zsh completions:

  • Added completions for 'git flow release {publish,track}'
  • Updated description texts for 'git flow feature *'
soplakanets added some commits
Serhiy Oplakanets soplakanets Add zsh completions for `release publish` and `release track`. 2790511
Serhiy Oplakanets soplakanets Update subcommand descriptions.
Update subcommand descriptions to make them more verbose and (in some
cases) at lest correct.
ca710d1
Justin Hileman bobthecow merged commit ed1a2bf into from
Justin Hileman
Owner

Thanks! This will go in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 23, 2012
  1. Serhiy Oplakanets
  2. Serhiy Oplakanets

    Update subcommand descriptions.

    soplakanets authored
    Update subcommand descriptions to make them more verbose and (in some
    cases) at lest correct.
This page is out of date. Refresh to see the latest.
Showing with 19 additions and 7 deletions.
  1. +19 −7 git-flow-completion.zsh
26 git-flow-completion.zsh
View
@@ -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:Publish release branch to remote.'
+ 'track:Checkout remote release branch.'
)
_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]'
@@ -191,12 +203,12 @@ __git-flow-feature ()
'start:Start a new feature branch.'
'finish:Finish a feature branch.'
'list:List all your feature branches. (Alias to `git flow feature`)'
- 'publish: public'
- 'track: track'
- 'diff: diff'
- 'rebase: rebase'
- 'checkout: checkout'
- 'pull: pull'
+ 'publish:Publish feature branch to remote.'
+ 'track:Checkout remote feature branch.'
+ 'diff:Show all changes.'
+ 'rebase:Rebase from integration branch.'
+ 'checkout:Checkout local feature branch.'
+ 'pull:Pull changes from remote.'
)
_describe -t commands 'git flow feature' subcommands
_arguments \
@@ -329,4 +341,4 @@ __git_command_successful () {
return 0
}
-zstyle ':completion:*:*:git:*' user-commands flow:'description for foo'
+zstyle ':completion:*:*:git:*' user-commands flow:'description for foo'
Something went wrong with that request. Please try again.