1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-15 01:41:12 +00:00
prezto/plugins/hub/hub.plugin.zsh
Theodore Robert Campbell Jr 1dae8c088b added hub plugin from defunkt
2011-03-01 01:04:10 -05:00

6 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