{"action":"created","issue":{"url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1026","labels_url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1026/labels{/name}","comments_url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1026/comments","events_url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1026/events","html_url":"https://github.com/sorin-ionescu/prezto/issues/1026","id":116397779,"number":1026,"title":"Module syntax-highlighting with prezto causes zsh to exit immediately","user":{"login":"mjbshaw","id":1204698,"avatar_url":"https://avatars.githubusercontent.com/u/1204698?v=3","gravatar_id":"","url":"https://api.github.com/users/mjbshaw","html_url":"https://github.com/mjbshaw","followers_url":"https://api.github.com/users/mjbshaw/followers","following_url":"https://api.github.com/users/mjbshaw/following{/other_user}","gists_url":"https://api.github.com/users/mjbshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/mjbshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjbshaw/subscriptions","organizations_url":"https://api.github.com/users/mjbshaw/orgs","repos_url":"https://api.github.com/users/mjbshaw/repos","events_url":"https://api.github.com/users/mjbshaw/events{/privacy}","received_events_url":"https://api.github.com/users/mjbshaw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sorin-ionescu/prezto/labels/Discussion","name":"Discussion","color":"DC3345"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":28,"created_at":"2015-11-11T18:54:07Z","updated_at":"2016-01-06T13:13:23Z","closed_at":null,"body":"I'm on OS X 10.10.5 using zsh 5.0.5 (x86_64-apple-darwin14.0). This happens in both iTerm2 and Apple's Terminal app. If I add the syntax-highlighting module to my `.zpreztorc`, so the module loading looks like this:\r\n\r\n```\r\nzstyle ':prezto:load' pmodule \\\r\n  'environment' \\\r\n  'terminal' \\\r\n  'editor' \\\r\n  'history' \\\r\n  'directory' \\\r\n  'spectrum' \\\r\n  'utility' \\\r\n  'completion' \\\r\n  'syntax-highlighting' \\\r\n  'prompt'\r\n```\r\n\r\nHere's me logging in with a pristine prezto install (I just cloned and set it up, so it's prezto at revision 165879d4b30dbf90d436b02a73786a28519d9e93):\r\n![works](https://cloud.githubusercontent.com/assets/1204698/11099782/35ff74de-8862-11e5-86d6-d0e4f905f52f.gif)\r\n\r\nAnd here's me logging in after enabling syntax-highlighting (adding `'syntax-highlighting' \\` is the only change I've made to my `.zpreztorc`):\r\n![broken](https://cloud.githubusercontent.com/assets/1204698/11099803/4f789cce-8862-11e5-97ad-3b28bd915e8a.gif)\r\n\r\nNote that zsh now immediately exits upon login."},"comment":{"url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/comments/169320404","html_url":"https://github.com/sorin-ionescu/prezto/issues/1026#issuecomment-169320404","issue_url":"https://api.github.com/repos/sorin-ionescu/prezto/issues/1026","id":169320404,"user":{"login":"danielshahaf","id":2141904,"avatar_url":"https://avatars.githubusercontent.com/u/2141904?v=3","gravatar_id":"","url":"https://api.github.com/users/danielshahaf","html_url":"https://github.com/danielshahaf","followers_url":"https://api.github.com/users/danielshahaf/followers","following_url":"https://api.github.com/users/danielshahaf/following{/other_user}","gists_url":"https://api.github.com/users/danielshahaf/gists{/gist_id}","starred_url":"https://api.github.com/users/danielshahaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielshahaf/subscriptions","organizations_url":"https://api.github.com/users/danielshahaf/orgs","repos_url":"https://api.github.com/users/danielshahaf/repos","events_url":"https://api.github.com/users/danielshahaf/events{/privacy}","received_events_url":"https://api.github.com/users/danielshahaf/received_events","type":"User","site_admin":false},"created_at":"2016-01-06T13:13:23Z","updated_at":"2016-01-06T13:13:23Z","body":"To expand on @sorin-ionescu's question: Does this happen when starting zsh as `zsh -f` and in the new shell running `source /path/to/zsh-syntax-highlighting.zsh`?  That will determine whether the cause is in z-sy-h or in the interaction of z-sy-h with other settings."}}