ohmyzsh/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 15:29:22 +01:00
# eval `hub alias -s zsh`
function git(){hub "$@"}
fi