1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-22 12:21:58 +00:00
ohmyzsh/plugins/github/github.plugin.zsh
Robby Russell cc82ac1ed6 Merge pull request #273 from blueyed/hub-alias-only-with-ruby
Minor fix for the github plugin: check for `ruby`.
2011-10-10 05:27:33 -07:00

5 lines
203 B
Bash

# 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