It should not be included in the github plugin, because it is a tool by itself
and can cause some issues.
Apart from that it does (up to) 2 unnecessary calls to the `hub`
command.
After all, the integration boils down to:
alias git=hub
This is not enough for an own plugin, but users should just add this to
their zshrc.
Removes old completion setup that breaks with current _git and _hub completions.
Ruby is no longer required by hub; removes that test.
Does not define new completions for hub; they are now defined by hub itself.
Change the functions to use hub to create the repos on GitHub.
Add error checking to the functions.
Removes apparently-unused _github completion definition.
`hub` is crashing for me on a old CentOS setup with
"undefined method `shelljoin'".
On first use of the `git` function it is now checked if
`hub --version` returns successfully.
I've run into the issue where a stripped down container had no Ruby
installed, which caused `hub` to fail.
Therefore I've added an extra check to verify that `ruby` is in the
commands list before setting up this alias/function.