github.plugin.zsh 203 Bytes
Newer Older
1
2
# Setup hub function for git, if it is available; http://github.com/defunkt/hub
if [ "$commands[(I)hub]" ] && [ "$commands[(I)ruby]" ]; then
3
4
    # eval `hub alias -s zsh`
    function git(){hub "$@"}
5
fi