all repos — nixfiles @ b9687258cc40db2c5960a6a9a93bf791fae25c78

System and user configuration, managed by nix and home-manager

zsh: Use hub instead of gh for git alias

Alan Pearce
commit

b9687258cc40db2c5960a6a9a93bf791fae25c78

parent

3f874826223174b6ab04f3c1176a6ba6205d1686

1 file changed, 4 insertions(+), 4 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-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