github.plugin.zsh 263 Bytes
Newer Older
1
2
# hub alias from defunkt
# https://github.com/defunkt/hub
3
4
5
if [ "$commands[(I)hub]" ]; then
    # eval `hub alias -s zsh`
    function git(){hub "$@"}
6
7
fi

Sven Lito's avatar
Sven Lito committed
8
9
10
11
# add github completion function to path
fpath=($ZSH/plugins/github $fpath)
autoload -U compinit
compinit -i