ohmyzsh/plugins/github/github.plugin.zsh

11 lines
313 B
Bash
Raw Normal View History

# Setup hub function for git, if it is available; http://github.com/defunkt/hub
if [ "$commands[(I)hub]" ] && [ "$commands[(I)ruby]" ]; then
2011-03-19 07:29:22 -07:00
# eval `hub alias -s zsh`
function git(){hub "$@"}
fi
2010-10-09 06:29:24 -07:00
# add github completion function to path
fpath=($ZSH/plugins/github $fpath)
autoload -U compinit
compinit -i