ohmyzsh: github plugin errors after updating

Hey,

after updating to the latest version of oh-my-zsh (git hash 85426a57a2561f675a6ad51754d6687c3ec571c2) i get following erros when opening a new console when the github plugin is enabled:

(anon):6: command not found: ___main
(eval):1: no matches found: *:all-files
_tags:comptags:36: can only be called from completion function
_tags:comptry:55: can only be called from completion function
_tags:comptags:60: can only be called from completion function
_tags:comptags:67: can only be called from completion function

About this issue

  • Original URL
  • State: closed
  • Created 11 years ago
  • Reactions: 1
  • Comments: 30 (9 by maintainers)

Most upvoted comments

Uninstalling hub defeats the purpose of having the github plugin.

That being said, there’s an easy fix! It requires you to reinstall git with homebrew and the --without-completions flag. Picked this up from https://github.com/github/hub/pull/295#issuecomment-14391639

brew uninstall --force git && brew install git --without-completions