hub: zsh completion is semi-broken
I have this in my .zshrc
eval "$(hub alias -s)"
hubis 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)
Links to this issue
Commits related to this issue
- fix zsh completion The `compdef` that was previously emitted by `hub alias -s` prevents the new `_git` script from working. Fixes #231 — committed to goodell/hub by goodell 11 years ago
- fix zsh completion This `_hub` completion script should correctly wrap modern versions of the `_git` scripts distributed by both zsh (native) and git (bash-based). The bash-based version could use a... — committed to goodell/hub by goodell 11 years ago
- fix zsh completion This `_hub` completion script should correctly wrap modern versions of the `_git` scripts distributed by both zsh (native) and git (bash-based). The bash-based version could use a... — committed to goodell/hub by goodell 11 years ago
- WIP fixing github/hub#231 complete_aliases First stab at fixing the problem reported by @bradical. No tests yet, unsure if I even like the solution that much. "complete_aliases" is a basically nons... — committed to goodell/hub by goodell 11 years ago
- turning off complete_aliases because of github/hub#231 — committed to bradical/dotfiles by bradical 11 years ago
- Fix hub completion See: https://github.com/github/hub/issues/231#issuecomment-21186289 — committed to tlvince/osx-config by tlvince 11 years ago
- fix zsh completion This `_hub` completion script should correctly wrap modern versions of the `_git` scripts distributed by both zsh (native) and git (bash-based). The bash-based version could use a... — committed to mislav/hub by goodell 11 years ago
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 aboveZSH=....