Revert "[Fix #242] Remove hub"

This reverts commit ccf181379a.
This commit is contained in:
Sorin Ionescu 2014-10-07 23:29:47 -04:00
parent 8f711d64b5
commit 8de68a9bda
2 changed files with 16 additions and 0 deletions

15
modules/git/hub.zsh Normal file
View file

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

View file

@ -15,4 +15,5 @@ pmodload 'helper'
# Source module files.
source "${0:h}/alias.zsh"
source "${0:h}/hub.zsh"