diff options
author | Marc Cornellà <marc.cornella@live.com> | 2015-11-27 16:07:00 +0100 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2015-11-27 16:07:00 +0100 |
commit | 90e16301634d75f2637acdf5765bac560db0da5f (patch) | |
tree | 5492abe17717295c4ec29f18775d12164e564cde /plugins/github/_github | |
parent | dfe10af9fa853842426581f8b19c1dc85d455b83 (diff) | |
parent | 24492a2fdb6feed1b529459dbd97061460aa968f (diff) | |
download | zsh-90e16301634d75f2637acdf5765bac560db0da5f.tar.gz zsh-90e16301634d75f2637acdf5765bac560db0da5f.tar.bz2 zsh-90e16301634d75f2637acdf5765bac560db0da5f.zip |
Merge pull request #4443 from apjanke/github-update
Update github plugin to work with current hub versions
Diffstat (limited to 'plugins/github/_github')
-rw-r--r-- | plugins/github/_github | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/plugins/github/_github b/plugins/github/_github deleted file mode 100644 index 83e1713c7..000000000 --- a/plugins/github/_github +++ /dev/null @@ -1,40 +0,0 @@ -#compdef github -#autoload - -# in order to make this work, you will need to have the github gem installed -# http://github.com/defunkt/github-gem - -# github zsh completion, based on homebrew completion - -local -a _1st_arguments -_1st_arguments=( - 'browse:Open this repo in a web browser' - 'clone:Clone a repo' - 'config:Automatically set configuration info, or pass args to specify' - 'create-from-local:Create a new GitHub repository from the current local repository' - 'create:Create a new empty GitHub repository' - 'fetch:Fetch from a remote to a local branch' - 'fetch_all:Fetch all refs from a user' - 'fork:Forks a GitHub repository' - 'home:Open this repos master branch in a web browser' - 'ignore:Ignore a SHA from github network commits' - 'info:Info about this project' - 'issues:Project issues tools' - 'network:Project network tools - sub-commands : web [user], list, fetch, commits' - 'open:Open the given user/project in a web browser' - 'pull-request:Generate the text for a pull request' - 'pull:Pull from a remote' - 'search:Search GitHub for the given repository name' - 'track:Track another users repository' -) - -local expl -local -a pkgs installed_pkgs - -_arguments \ - '*:: :->subcmds' && return 0 - -if (( CURRENT == 1 )); then - _describe -t commands "github subcommand" _1st_arguments - return -fi |