1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 13:58:00 +00:00

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 module files.
source "${0:h}/alias.zsh" source "${0:h}/alias.zsh"
source "${0:h}/hub.zsh"