From 61c1c293be28a3f85640e65c48e01b9538aac29a Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Thu, 29 Mar 2012 23:22:24 +0100 Subject: [PATCH] Use the "hub alias -s" command to setup hub --- plugins/git/hub.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/git/hub.zsh b/plugins/git/hub.zsh index 161fc2ad..433bc528 100644 --- a/plugins/git/hub.zsh +++ b/plugins/git/hub.zsh @@ -1,14 +1,14 @@ # # Adds GitHub knowledge to the Git command. +# https://github.com/defunkt/hub # # Authors: # Chris Wanstrath # Sorin Ionescu +# Colin Hebert # if (( $+commands[hub] )); then - function git { - hub "$@" - } + eval "$(hub alias -s)" fi