Commit cc82ac1e authored by Robby Russell's avatar Robby Russell
Browse files

Merge pull request #273 from blueyed/hub-alias-only-with-ruby

Minor fix for the github plugin: check for `ruby`.
parents 490177d4 911837c4
# hub alias from defunkt
# https://github.com/defunkt/hub
if [ "$commands[(I)hub]" ]; then
# Setup hub function for git, if it is available; http://github.com/defunkt/hub
if [ "$commands[(I)hub]" ] && [ "$commands[(I)ruby]" ]; then
# eval `hub alias -s zsh`
function git(){hub "$@"}
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment