zsh: Add "hub" aliases again
Alan Pearce alan@alanpearce.uk
Thu, 29 Sep 2016 09:32:46 +0200
1 files changed, 7 insertions(+), 0 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → 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