mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-22 19:48:00 +00:00
parent
8f711d64b5
commit
8de68a9bda
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 module files.
|
||||||
source "${0:h}/alias.zsh"
|
source "${0:h}/alias.zsh"
|
||||||
|
source "${0:h}/hub.zsh"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user