#compdef git-hub-shorten-url
#autoload

#
# Completes git-hub-shorten-url.
#
# Authors:
#   Sorin Ionescu <sorin.ionescu@gmail.com>
#

local service="$service"

zstyle ":completion:*:${service}:*:prefixes" ignored-patterns '^http(|s)://'
zstyle ":completion:*:${service}:*:hosts" ignored-patterns '^*github.com'

_arguments '1::GitHub URL:_urls' '2::code:' && return 0
