1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-13 17:23:55 +08:00
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 22:29:22 +08:00
if [ "$commands[(I)hub]" ]; then
# 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