parent
8f711d64b5
commit
8de68a9bda
2 changed files with 16 additions and 0 deletions
15
modules/git/hub.zsh
Normal file
15
modules/git/hub.zsh
Normal 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
|
||||
|
|
@ -15,4 +15,5 @@ pmodload 'helper'
|
|||
|
||||
# Source module files.
|
||||
source "${0:h}/alias.zsh"
|
||||
source "${0:h}/hub.zsh"
|
||||
|
||||
|
|
Loading…
Reference in a new issue