]> arthur.barton.de Git - ax-zsh.git/commitdiff
Add "hub" plugin for hub(1)
authorAlexander Barton <alex@barton.de>
Sat, 12 Sep 2015 16:46:32 +0000 (18:46 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 12 Sep 2015 16:46:32 +0000 (18:46 +0200)
https://hub.github.com

plugins/hub/hub.zshrc [new file with mode: 0644]

diff --git a/plugins/hub/hub.zshrc b/plugins/hub/hub.zshrc
new file mode 100644 (file)
index 0000000..621e6c0
--- /dev/null
@@ -0,0 +1,8 @@
+# AX-ZSH: Alex' Modular ZSH Configuration
+# hub.zshrc: Setup hub(1)
+
+# Make sure that "git(1)" and "hub(1)" are installed
+(( $+commands[git] )) || return
+(( $+commands[hub] )) || return
+
+alias git="hub"