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