summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorIsrael Rodrigo Faria <israel.faria@gmail.com>2019-05-01 11:10:31 -0300
committerMarc Cornellà <marc.cornella@live.com>2019-05-01 16:10:31 +0200
commit55f20fed6e34e6651816888ea823b61de2fedbcb (patch)
treeb4dbdd2b9645f5937a596ab184f8a5ecb43ff738 /plugins
parent4eae0549fd7e8a6d35c5627356098380b6b9ef82 (diff)
downloadzsh-55f20fed6e34e6651816888ea823b61de2fedbcb.tar.gz
zsh-55f20fed6e34e6651816888ea823b61de2fedbcb.tar.bz2
zsh-55f20fed6e34e6651816888ea823b61de2fedbcb.zip
hub: update completion to 2019-02-21 (819aa96) (#7821)
Diffstat (limited to 'plugins')
-rw-r--r--plugins/github/_hub11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/github/_hub b/plugins/github/_hub
index 1833a9c09..209a3df9e 100644
--- a/plugins/github/_hub
+++ b/plugins/github/_hub
@@ -58,6 +58,7 @@ __hub_setup_zsh_fns () {
- set1 \
'-m[message]' \
'-F[file]' \
+ '--no-edit[use first commit message for pull request title/description]' \
'-a[user]' \
'-M[milestone]' \
'-l[labels]' \
@@ -84,11 +85,15 @@ __hub_setup_zsh_fns () {
hub_commands=(
alias:'show shell instructions for wrapping git'
pull-request:'open a pull request on GitHub'
+ pr:'list or checkout a GitHub pull request'
+ issue:'list or create a GitHub issue'
+ release:'list or create a GitHub release'
fork:'fork origin repo on GitHub'
create:'create new repo on GitHub for the current project'
+ delete:'delete a GitHub repo'
browse:'browse the project on GitHub'
compare:'open GitHub compare view'
- ci-status:'lookup commit in GitHub Status API'
+ ci-status:'show status of GitHub checks for a commit'
sync:'update local branches from upstream'
)
_describe -t hub-commands 'hub command' hub_commands && ret=0
@@ -111,8 +116,12 @@ __hub_setup_bash_fns () {
cat <<-EOF
alias
pull-request
+pr
+issue
+release
fork
create
+delete
browse
compare
ci-status