hub: zsh completion is semi-broken

I have this in my .zshrc

eval "$(hub alias -s)"
  • hub is installed via homebrew
  • zsh completion is installed to /usr/local/share/zsh/site-functions

the hub commands like pull-request, browse etc doesn’t get completed

Ideas @mislav ?

About this issue

  • Original URL
  • State: closed
  • Created 12 years ago
  • Comments: 70 (32 by maintainers)

Commits related to this issue

Most upvoted comments

I’m an oh-my-zsh user, but the above mentioned fix to add the hub oh-my-zsh plugin didn’t work for me. I was able to resolve this by adding fpath=('/usr/local/share/zsh/site-functions' $fpath) to my .zshrc above ZSH=....