github plugin: remove hub

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.
This commit is contained in:
Daniel Hahler 2016-06-11 17:35:42 +02:00
parent 3ce22281db
commit 774c6c715c

View File

@ -1,10 +1,3 @@
# Set up hub wrapper for git, if it is available; http://github.com/github/hub
if [ "$commands[(I)hub]" ]; then
if hub --version &>/dev/null; then
eval $(hub alias -s zsh)
fi
fi
# Functions ################################################################# # Functions #################################################################
# Based on https://github.com/dbb/githome/blob/master/.config/zsh/functions # Based on https://github.com/dbb/githome/blob/master/.config/zsh/functions