summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2015-05-06 09:25:45 +0200
committerAlan Pearce2015-05-06 09:25:45 +0200
commitb9687258cc40db2c5960a6a9a93bf791fae25c78 (patch)
treeeaa7c2e51245e0dff70efcdbea79cba1437f05a5 /tag-zsh
parent3f874826223174b6ab04f3c1176a6ba6205d1686 (diff)
downloaddotfiles-b9687258cc40db2c5960a6a9a93bf791fae25c78.tar.lz
dotfiles-b9687258cc40db2c5960a6a9a93bf791fae25c78.tar.zst
dotfiles-b9687258cc40db2c5960a6a9a93bf791fae25c78.zip
zsh: Use hub instead of gh for git alias
Diffstat (limited to 'tag-zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index e057f0b..361110a 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