summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
authorAlan Pearce2014-06-08 15:02:03 +0100
committerAlan Pearce2014-06-08 15:02:03 +0100
commit2ef5062c3047585928f40493eb76e08cd66ba389 (patch)
tree785fc3d2cf3c082996bdb32cf2c2c312fbcc8205 /tag-zsh/config
parente84d46099500cc08c2accc8228a24062da680867 (diff)
downloadnixfiles-2ef5062c3047585928f40493eb76e08cd66ba389.tar.lz
nixfiles-2ef5062c3047585928f40493eb76e08cd66ba389.tar.zst
nixfiles-2ef5062c3047585928f40493eb76e08cd66ba389.zip
zsh: Complete gh commands with _gh, not _hub
Diffstat (limited to 'tag-zsh/config')
-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 5c6b32ab..39ae5ec6 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