diff options
author | Alan Pearce | 2015-05-06 09:25:45 +0200 |
---|---|---|
committer | Alan Pearce | 2015-05-06 09:25:45 +0200 |
commit | b9687258cc40db2c5960a6a9a93bf791fae25c78 (patch) | |
tree | eaa7c2e51245e0dff70efcdbea79cba1437f05a5 /tag-zsh/config/zsh/zshrc | |
parent | 3f874826223174b6ab04f3c1176a6ba6205d1686 (diff) | |
download | nixfiles-b9687258cc40db2c5960a6a9a93bf791fae25c78.tar.lz nixfiles-b9687258cc40db2c5960a6a9a93bf791fae25c78.tar.zst nixfiles-b9687258cc40db2c5960a6a9a93bf791fae25c78.zip |
zsh: Use hub instead of gh for git alias
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index e057f0ba..361110a9 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -274,10 +274,10 @@ alias -g ...='../..' #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 |