Use the "hub alias -s" command to setup hub
This commit is contained in:
parent
6b5a650ca5
commit
61c1c293be
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue