summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
Diffstat (limited to 'tag-zsh')
-rw-r--r--tag-zsh/config/zsh/zshrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index a133a7da..2a37b508 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -136,6 +136,13 @@ then
 	autoload -U compinit && compinit
 fi
 
+if [[ -n $commands[hub] ]]
+then
+	compdef _hub hub
+	alias git=hub
+	alias gh=hub
+fi
+
 if [[ -n $commands[lunchy] ]]
 then
 	LUNCHY_DIR=$(dirname $(gem which lunchy))/../extras