zsh: Use hub instead of gh for git alias
Alan Pearce alan@alanpearce.co.uk
Wed, 06 May 2015 09:25:45 +0200
1 files changed, 4 insertions(+), 4 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → tag-zsh/config/zsh/zshrc
@@ -274,10 +274,10 @@ #Suffix aliases alias -s log=less -if [[ -e =gh ]]; then - alias git="gh" - if [[ -n $functions[_gh] ]];then - compdef _gh gh +if [[ -e =hub ]]; then + alias git="hub" + if [[ -n $functions[_hub] ]];then + compdef _hub hub fi fi