1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2025-02-20 06:35:33 +08:00
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 22:29:22 +08:00
# eval `hub alias -s zsh`
function git(){hub "$@"}
fi
2010-10-09 21:29:24 +08:00
# add github completion function to path
fpath=($ZSH/plugins/github $fpath)
autoload -U compinit
compinit -i