summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-06-01 14:26:55 +0100
committerAlan Pearce2014-06-01 14:26:55 +0100
commit895d35abcddd3c16241964f077595f09de2d08df (patch)
tree668d692e212535ab6624d1ac871f33a9cba4402d /tag-zsh
parent8c73db305410b15b1a3f85df8f8add61fadcdd55 (diff)
downloadnixfiles-895d35abcddd3c16241964f077595f09de2d08df.tar.lz
nixfiles-895d35abcddd3c16241964f077595f09de2d08df.tar.zst
nixfiles-895d35abcddd3c16241964f077595f09de2d08df.zip
zsh: use gh instead of hub
Diffstat (limited to 'tag-zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 067c517d..9f1f66fe 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -271,10 +271,10 @@ alias -g ...='../..'
 #Suffix aliases
 alias -s log=less
 
-if [[ -e =hub ]]; then
-	alias git="hub"
+if [[ -e =gh ]]; then
+	alias git="gh"
 	autoload -U _hub
-	compdef _hub hub
+	compdef _hub gh
 fi
 
 # Functions