summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2013-12-01 17:39:28 +0000
committerAlan Pearce2013-12-01 17:39:28 +0000
commitcec2d2a6e071c33cdd08b04bcd7ee27ea46e696c (patch)
tree892141c56e9361c49b0a02b15e654a4f70b1baa5
parent5371244cb59e37cb4b7aee20dbf9c6592c84f42d (diff)
downloadnixfiles-cec2d2a6e071c33cdd08b04bcd7ee27ea46e696c.tar.lz
nixfiles-cec2d2a6e071c33cdd08b04bcd7ee27ea46e696c.tar.zst
nixfiles-cec2d2a6e071c33cdd08b04bcd7ee27ea46e696c.zip
zsh: Fix completion for git/hub
-rwxr-xr-xzsh/interactive.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/zsh/interactive.zsh b/zsh/interactive.zsh
index bc864b3d..10a58366 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