aboutsummaryrefslogtreecommitdiffstats
path: root/_github
diff options
context:
space:
mode:
authorJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-09-02 15:45:46 +0200
committerJulien Nicoulaud <julien.nicoulaud@gmail.com>2011-09-02 15:45:46 +0200
commitbeef59c47d6b0d60bcb2c98b4edf37d1463575e1 (patch)
tree1fa865f59561bc4d3600b223a98c0aae721d9fd7 /_github
parent#23 github: complete 'open' command (diff)
downloadzsh-completions-beef59c47d6b0d60bcb2c98b4edf37d1463575e1.tar
zsh-completions-beef59c47d6b0d60bcb2c98b4edf37d1463575e1.tar.gz
zsh-completions-beef59c47d6b0d60bcb2c98b4edf37d1463575e1.tar.bz2
zsh-completions-beef59c47d6b0d60bcb2c98b4edf37d1463575e1.tar.lz
zsh-completions-beef59c47d6b0d60bcb2c98b4edf37d1463575e1.tar.xz
zsh-completions-beef59c47d6b0d60bcb2c98b4edf37d1463575e1.tar.zst
zsh-completions-beef59c47d6b0d60bcb2c98b4edf37d1463575e1.zip
#23 github: complete 'pull' command
Diffstat (limited to '_github')
-rw-r--r--_github7
1 files changed, 5 insertions, 2 deletions
diff --git a/_github b/_github
index f9c715c..1bf4e3d 100644
--- a/_github
+++ b/_github
@@ -168,8 +168,11 @@ _github() {
&& ret=0
;;
(pull)
- # TODO Not implemented
- _message "${words[1]} command argument" && ret=0
+ _arguments \
+ '1: :_github_users' \
+ '2: :_github_branches' \
+ '--merge[automatically merge remote'\''s changes into your master]' \
+ && ret=0
;;
(pull-request)
# TODO Not implemented