{"action":"created","issue":{"url":"https://api.github.com/repos/github/hub/issues/788","labels_url":"https://api.github.com/repos/github/hub/issues/788/labels{/name}","comments_url":"https://api.github.com/repos/github/hub/issues/788/comments","events_url":"https://api.github.com/repos/github/hub/issues/788/events","html_url":"https://github.com/github/hub/pull/788","id":56169237,"number":788,"title":"Improve and simplify zsh completion, using `user-commands` zstyle","user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-02-01T16:48:11Z","updated_at":"2015-02-08T11:40:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/github/hub/pulls/788","html_url":"https://github.com/github/hub/pull/788","diff_url":"https://github.com/github/hub/pull/788.diff","patch_url":"https://github.com/github/hub/pull/788.patch"},"body":"Defining the hub commands via the user-commands zstyle makes it less\r\nfragile and more straightforward.\r\n\r\nThis also drops support for the bash-completion from the git\r\ndistribution."},"comment":{"url":"https://api.github.com/repos/github/hub/issues/comments/73407317","html_url":"https://github.com/github/hub/pull/788#issuecomment-73407317","issue_url":"https://api.github.com/repos/github/hub/issues/788","id":73407317,"user":{"login":"blueyed","id":9766,"avatar_url":"https://avatars.githubusercontent.com/u/9766?v=3","gravatar_id":"","url":"https://api.github.com/users/blueyed","html_url":"https://github.com/blueyed","followers_url":"https://api.github.com/users/blueyed/followers","following_url":"https://api.github.com/users/blueyed/following{/other_user}","gists_url":"https://api.github.com/users/blueyed/gists{/gist_id}","starred_url":"https://api.github.com/users/blueyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blueyed/subscriptions","organizations_url":"https://api.github.com/users/blueyed/orgs","repos_url":"https://api.github.com/users/blueyed/repos","events_url":"https://api.github.com/users/blueyed/events{/privacy}","received_events_url":"https://api.github.com/users/blueyed/received_events","type":"User","site_admin":false},"created_at":"2015-02-08T11:40:01Z","updated_at":"2015-02-08T11:40:01Z","body":"@bolasblack\r\nThe problem might be the installation location of homebrew.\r\n\r\nPlease edit `/usr/local/Cellar/zsh/5.0.7/share/zsh/functions/_git`, add `set -x` and `set +x` statements, and then try the completion again:\r\n\r\n    --- /home/daniel/.dotfiles/oh-my-zsh/functions/_git\t2015-02-08 12:10:34.127479891 +0100\r\n    +++ -\t2015-02-08 12:37:18.848689442 +0100\r\n    @@ -25,6 +25,7 @@\r\n     zstyle -T ':completion:*:*:git:*' tag-order && \\\r\n      zstyle ':completion:*:*:git:*' tag-order 'common-commands'\r\n     \r\n    +set -x\r\n     zstyle -s \":completion:*:*:git:*\" script script\r\n     if [ -z \"$script\" ]; then\r\n      local -a locations\r\n    @@ -41,6 +42,7 @@\r\n     fi\r\n     echo $script\r\n     ZSH_VERSION='' . \"$script\"\r\n    +set +x\r\n     \r\n     __gitcomp ()\r\n     {\r\n\r\nAfter `hub cre<tab>` it should spill out a lot of debug information.  Please post that here then.\r\n"}}