diff options
author | Theodore Robert Campbell Jr <trcjr@stupidfoot.com> | 2011-03-01 01:04:10 -0500 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2011-04-12 10:24:52 +0200 |
commit | 0447a0ec11ad56d24ad391e9149c8d7e0429b205 (patch) | |
tree | b549a233f4aa8686de49efe5b31b80c117a49b2b /plugins/hub/hub.plugin.zsh | |
parent | 8883ace767997d1a629c165780af303f715ee78d (diff) | |
download | zsh-0447a0ec11ad56d24ad391e9149c8d7e0429b205.tar.gz zsh-0447a0ec11ad56d24ad391e9149c8d7e0429b205.tar.bz2 zsh-0447a0ec11ad56d24ad391e9149c8d7e0429b205.zip |
added hub plugin from defunkt
Diffstat (limited to 'plugins/hub/hub.plugin.zsh')
-rw-r--r-- | plugins/hub/hub.plugin.zsh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/hub/hub.plugin.zsh b/plugins/hub/hub.plugin.zsh new file mode 100644 index 000000000..e82a0ec25 --- /dev/null +++ b/plugins/hub/hub.plugin.zsh @@ -0,0 +1,5 @@ +# 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 |