From 77e71f8020c4dcbe29b0d1c7425e1ae5faa2a6a0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 29 Sep 2016 09:32:46 +0200 Subject: zsh: Add "hub" aliases again --- tag-zsh/config/zsh/zshrc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tag-zsh/config/zsh') 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 -- cgit 1.4.1