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

6 lines
203 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 14:29:22 +00:00
# eval `hub alias -s zsh`
function git(){hub "$@"}
fi