ohmyzsh/plugins/github/github.plugin.zsh
2010-11-19 19:32:31 +00:00

15 lines
No EOL
251 B
Bash

# add github completion function to path
fpath=($ZSH/plugins/github $fpath)
autoload -U compinit
compinit -i
# git + hub = github
# https://github.com/defunkt/hub
function git()
{
if [ -x $(which hub) ]; then
hub "$@"
else
git "$@"
fi
}