mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Merge pull request #273 from blueyed/hub-alias-only-with-ruby
Minor fix for the github plugin: check for `ruby`.
This commit is contained in:
commit
cc82ac1ed6
1 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
# hub alias from defunkt
|
# Setup hub function for git, if it is available; http://github.com/defunkt/hub
|
||||||
# https://github.com/defunkt/hub
|
if [ "$commands[(I)hub]" ] && [ "$commands[(I)ruby]" ]; then
|
||||||
if [ "$commands[(I)hub]" ]; then
|
|
||||||
# eval `hub alias -s zsh`
|
# eval `hub alias -s zsh`
|
||||||
function git(){hub "$@"}
|
function git(){hub "$@"}
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue