55f20fed6e34e6651816888ea823b61de2fedbcb

Author
Israel Rodrigo Faria <israel.faria@gmail.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

hub: update completion to 2019-02-21 (819aa96) (#7821)

Diff

 1diff --git a/plugins/github/_hub b/plugins/github/_hub
 2index 1833a9c09d1407d77e9e8d464bc86ed8934298db..209a3df9e18316bc374369deeeb407117eb00c10 100644
 3--- a/plugins/github/_hub
 4+++ b/plugins/github/_hub
 5@@ -58,6 +58,7 @@ __hub_setup_zsh_fns () {
 6       - set1 \
 7         '-m[message]' \
 8         '-F[file]' \
 9+        '--no-edit[use first commit message for pull request title/description]' \
10         '-a[user]' \
11         '-M[milestone]' \
12         '-l[labels]' \
13@@ -84,11 +85,15 @@ __hub_setup_zsh_fns () {
14     hub_commands=(
15       alias:'show shell instructions for wrapping git'
16       pull-request:'open a pull request on GitHub'
17+      pr:'list or checkout a GitHub pull request'
18+      issue:'list or create a GitHub issue'
19+      release:'list or create a GitHub release'
20       fork:'fork origin repo on GitHub'
21       create:'create new repo on GitHub for the current project'
22+      delete:'delete a GitHub repo'
23       browse:'browse the project on GitHub'
24       compare:'open GitHub compare view'
25-      ci-status:'lookup commit in GitHub Status API'
26+      ci-status:'show status of GitHub checks for a commit'
27       sync:'update local branches from upstream'
28     )
29     _describe -t hub-commands 'hub command' hub_commands && ret=0
30@@ -111,8 +116,12 @@ __hub_setup_bash_fns () {
31     cat <<-EOF
32 alias
33 pull-request
34+pr
35+issue
36+release
37 fork
38 create
39+delete
40 browse
41 compare
42 ci-status