From 735a00e446e3a847b6044833bc1547ffdf614910 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mislav=20Marohni=C4=87?= Date: Mon, 6 Feb 2017 14:28:50 +0100 Subject: [PATCH] Add `ci-status` to fish completion --- etc/hub.fish_completion | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/hub.fish_completion b/etc/hub.fish_completion index 93137e2c..fcb32384 100644 --- a/etc/hub.fish_completion +++ b/etc/hub.fish_completion @@ -23,6 +23,7 @@ complete -f -c hub -n '__fish_hub_needs_command' -a compare -d "lookup commit in complete -f -c hub -n '__fish_hub_needs_command' -a create -d "create new repo on GitHub for the current project" complete -f -c hub -n '__fish_hub_needs_command' -a fork -d "fork origin repo on GitHub" complete -f -c hub -n '__fish_hub_needs_command' -a pull-request -d "open a pull request on GitHub" +complete -f -c hub -n '__fish_hub_needs_command' -a ci-status -d "display GitHub Status information for a commit" # alias complete -f -c hub -n ' __fish_hub_using_command alias' -a 'bash zsh sh ksh csh fish' -d "output shell script suitable for eval" @@ -56,3 +57,5 @@ complete -f -c hub -n ' __fish_hub_using_command create' -l browse -d "Open the complete -f -c hub -n ' __fish_hub_using_command create' -s p -d "Create a private repository" complete -f -c hub -n ' __fish_hub_using_command create' -s c -d "Put the URL of the new repository to clipboard instead of printing it." complete -f -c hub -n ' __fish_hub_using_command create' -l copy -d "Put the URL of the new repository to clipboard instead of printing it." +# ci-status +complete -f -c hub -n ' __fish_hub_using_command ci-status' -s v -d "Print detailed report of all status checks and their URLs"