ohmyzsh/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 15:29:22 +01:00
if [ "$commands[(I)hub]" ]; then
# eval `hub alias -s zsh`
function git(){hub "$@"}
fi
2010-10-09 15:29:24 +02:00
# add github completion function to path
fpath=($ZSH/plugins/github $fpath)
autoload -U compinit
compinit -i