Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
55f20fed
Commit
55f20fed
authored
May 01, 2019
by
Israel Rodrigo Faria
Committed by
Marc Cornellà
May 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hub: update completion to 2019-02-21 (819aa96) (#7821)
parent
4eae0549
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
_hub
plugins/github/_hub
+10
-1
No files found.
plugins/github/_hub
View file @
55f20fed
...
@@ -58,6 +58,7 @@ __hub_setup_zsh_fns () {
...
@@ -58,6 +58,7 @@ __hub_setup_zsh_fns () {
- set1 \
- set1 \
'-m[message]' \
'-m[message]' \
'-F[file]' \
'-F[file]' \
'--no-edit[use first commit message for pull request title/description]' \
'-a[user]' \
'-a[user]' \
'-M[milestone]' \
'-M[milestone]' \
'-l[labels]' \
'-l[labels]' \
...
@@ -84,11 +85,15 @@ __hub_setup_zsh_fns () {
...
@@ -84,11 +85,15 @@ __hub_setup_zsh_fns () {
hub_commands=(
hub_commands=(
alias:'show shell instructions for wrapping git'
alias:'show shell instructions for wrapping git'
pull-request:'open a pull request on GitHub'
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'
fork:'fork origin repo on GitHub'
create:'create new repo on GitHub for the current project'
create:'create new repo on GitHub for the current project'
delete:'delete a GitHub repo'
browse:'browse the project on GitHub'
browse:'browse the project on GitHub'
compare:'open GitHub compare view'
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'
sync:'update local branches from upstream'
)
)
_describe -t hub-commands 'hub command' hub_commands && ret=0
_describe -t hub-commands 'hub command' hub_commands && ret=0
...
@@ -111,8 +116,12 @@ __hub_setup_bash_fns () {
...
@@ -111,8 +116,12 @@ __hub_setup_bash_fns () {
cat <<-EOF
cat <<-EOF
alias
alias
pull-request
pull-request
pr
issue
release
fork
fork
create
create
delete
browse
browse
compare
compare
ci-status
ci-status
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment