oh-my-zsh/plugins/github/github.plugin.zsh

12 lines
263 B
Bash
Raw Normal View History

# hub alias from defunkt
# https://github.com/defunkt/hub
2011-03-19 14:29:22 +00:00
if [ "$commands[(I)hub]" ]; then
# eval `hub alias -s zsh`
function git(){hub "$@"}
fi
2010-10-09 13:29:24 +00:00
# add github completion function to path
fpath=($ZSH/plugins/github $fpath)
autoload -U compinit
compinit -i