From 774c6c715c311774928f7015c53b02b360620a09 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sat, 11 Jun 2016 17:35:42 +0200 Subject: [PATCH] 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. --- plugins/github/github.plugin.zsh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh index 0ab399c9..a5515975 100644 --- a/plugins/github/github.plugin.zsh +++ b/plugins/github/github.plugin.zsh @@ -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 ################################################################# # Based on https://github.com/dbb/githome/blob/master/.config/zsh/functions