{"action":"created","issue":{"url":"https://api.github.com/repos/github/hub/issues/972","labels_url":"https://api.github.com/repos/github/hub/issues/972/labels{/name}","comments_url":"https://api.github.com/repos/github/hub/issues/972/comments","events_url":"https://api.github.com/repos/github/hub/issues/972/events","html_url":"https://github.com/github/hub/issues/972","id":99774282,"number":972,"title":"Error when source .zshrc or open new zsh session?","user":{"login":"geekplux","id":3816105,"avatar_url":"https://avatars.githubusercontent.com/u/3816105?v=3","gravatar_id":"","url":"https://api.github.com/users/geekplux","html_url":"https://github.com/geekplux","followers_url":"https://api.github.com/users/geekplux/followers","following_url":"https://api.github.com/users/geekplux/following{/other_user}","gists_url":"https://api.github.com/users/geekplux/gists{/gist_id}","starred_url":"https://api.github.com/users/geekplux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geekplux/subscriptions","organizations_url":"https://api.github.com/users/geekplux/orgs","repos_url":"https://api.github.com/users/geekplux/repos","events_url":"https://api.github.com/users/geekplux/events{/privacy}","received_events_url":"https://api.github.com/users/geekplux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-08T05:13:19Z","updated_at":"2015-09-01T13:21:52Z","closed_at":null,"body":"I get following erros, when I source the .zshrc or open a new zsh session after installed hub by brew on my Macbook. \r\n\r\n```shell\r\nzsh:12: command not found: ___main\r\n_default:compcall:12: can only be called from completion function\r\n```\r\n\r\nHowever, it was normal after I `brew uninstall hub`...\r\nSo I am a little confused, and have to open a issue to consult you. 囧\r\n"},"comment":{"url":"https://api.github.com/repos/github/hub/issues/comments/136718512","html_url":"https://github.com/github/hub/issues/972#issuecomment-136718512","issue_url":"https://api.github.com/repos/github/hub/issues/972","id":136718512,"user":{"login":"ianp","id":103420,"avatar_url":"https://avatars.githubusercontent.com/u/103420?v=3","gravatar_id":"","url":"https://api.github.com/users/ianp","html_url":"https://github.com/ianp","followers_url":"https://api.github.com/users/ianp/followers","following_url":"https://api.github.com/users/ianp/following{/other_user}","gists_url":"https://api.github.com/users/ianp/gists{/gist_id}","starred_url":"https://api.github.com/users/ianp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianp/subscriptions","organizations_url":"https://api.github.com/users/ianp/orgs","repos_url":"https://api.github.com/users/ianp/repos","events_url":"https://api.github.com/users/ianp/events{/privacy}","received_events_url":"https://api.github.com/users/ianp/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T13:21:52Z","updated_at":"2015-09-01T13:21:52Z","body":"I had a similar problem but was able to fix it by not loading the git and github plugins in Oh-my-zsh. In your `.zshrc` file\r\n\r\n```sh\r\n# change this line (line 36 for me)\r\nplugins=(git github lein osx svn)\r\n# to this\r\nplugins=(lein osx svn)\r\n```"}}