summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
authorAlan Pearce2013-12-01 17:39:28 +0000
committerAlan Pearce2013-12-01 17:39:28 +0000
commitcec2d2a6e071c33cdd08b04bcd7ee27ea46e696c (patch)
tree892141c56e9361c49b0a02b15e654a4f70b1baa5 /zsh
parent5371244cb59e37cb4b7aee20dbf9c6592c84f42d (diff)
downloaddotfiles-cec2d2a6e071c33cdd08b04bcd7ee27ea46e696c.tar.lz
dotfiles-cec2d2a6e071c33cdd08b04bcd7ee27ea46e696c.tar.zst
dotfiles-cec2d2a6e071c33cdd08b04bcd7ee27ea46e696c.zip
zsh: Fix completion for git/hub
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/interactive.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/interactive.zsh b/zsh/interactive.zsh
index bc864b3..10a5836 100755
--- a/zsh/interactive.zsh
+++ b/zsh/interactive.zsh
@@ -276,6 +276,8 @@ alias -s log=less
 
 if [[ -e =hub ]]; then
 	alias git="hub"
+	autoload -U _hub
+	compdef _hub hub
 fi
 
 # Functions