mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-23 03:01:42 +08:00
cc82ac1ed6
Minor fix for the github plugin: check for `ruby`.
6 lines
203 B
Bash
6 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
|