1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-26 06:11:58 +00:00
ohmyzsh/plugins/hub/hub.plugin.zsh
Theodore Robert Campbell Jr 0447a0ec11 added hub plugin from defunkt
2011-04-12 10:24:52 +02:00

5 lines
175 B
Bash

# hub alias from defunkt
# https://github.com/defunkt/hub
if [ $( which hub > /dev/null 2>&1 ; echo -n $? ) -lt 1 ]; then
eval $( hub alias -s $( ps -o comm= -p $$ ) )
fi