summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-08 15:02:03 +0100
committerAlan Pearce2014-06-08 15:02:03 +0100
commit2ef5062c3047585928f40493eb76e08cd66ba389 (patch)
tree785fc3d2cf3c082996bdb32cf2c2c312fbcc8205
parente84d46099500cc08c2accc8228a24062da680867 (diff)
downloaddotfiles-2ef5062c3047585928f40493eb76e08cd66ba389.tar.lz
dotfiles-2ef5062c3047585928f40493eb76e08cd66ba389.tar.zst
dotfiles-2ef5062c3047585928f40493eb76e08cd66ba389.zip
zsh: Complete gh commands with _gh, not _hub
-rwxr-xr-xtag-zsh/config/zsh/zshrc3
1 files changed, 1 insertions, 2 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 5c6b32a..39ae5ec 100755
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -273,8 +273,7 @@ alias -s log=less
 
 if [[ -e =gh ]]; then
 	alias git="gh"
-	autoload -U _hub
-	compdef _hub gh
+	compdef _gh gh
 fi
 
 if [[ -n $commands[composer.phar] && ! -n $commands[composer] ]]; then