0447a0ec11ad56d24ad391e9149c8d7e0429b205

Author
Theodore Robert Campbell Jr <trcjr@stupidfoot.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

added hub plugin from defunkt

Diff

 1diff --git a/plugins/hub/hub.plugin.zsh b/plugins/hub/hub.plugin.zsh
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..e82a0ec250216d691f2df758e793f9a8d0e9fd6d
 4--- /dev/null
 5+++ b/plugins/hub/hub.plugin.zsh
 6@@ -0,0 +1,5 @@
 7+# hub alias from defunkt
 8+# https://github.com/defunkt/hub
 9+if [ $( which hub > /dev/null 2>&1 ; echo -n $? ) -lt 1 ]; then
10+    eval $( hub alias -s $( ps -o comm= -p $$ ) )
11+fi