Use the "hub alias -s" command to setup hub

This commit is contained in:
Colin Hebert 2012-03-29 23:22:24 +01:00
parent 6b5a650ca5
commit 61c1c293be

View file

@ -1,14 +1,14 @@
#
# Adds GitHub knowledge to the Git command.
# https://github.com/defunkt/hub
#
# Authors:
# Chris Wanstrath <chris@wanstrath.com>
# Sorin Ionescu <sorin.ionescu@gmail.com>
# Colin Hebert <hebert.colin@gmail.com>
#
if (( $+commands[hub] )); then
function git {
hub "$@"
}
eval "$(hub alias -s)"
fi