{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3595","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3595/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3595/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3595/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/3595","id":57786573,"number":3595,"title":"Everything broken after auto-update","user":{"login":"kevinansfield","id":415,"avatar_url":"https://avatars.githubusercontent.com/u/415?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinansfield","html_url":"https://github.com/kevinansfield","followers_url":"https://api.github.com/users/kevinansfield/followers","following_url":"https://api.github.com/users/kevinansfield/following{/other_user}","gists_url":"https://api.github.com/users/kevinansfield/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinansfield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinansfield/subscriptions","organizations_url":"https://api.github.com/users/kevinansfield/orgs","repos_url":"https://api.github.com/users/kevinansfield/repos","events_url":"https://api.github.com/users/kevinansfield/events{/privacy}","received_events_url":"https://api.github.com/users/kevinansfield/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-16T10:19:56Z","updated_at":"2015-06-15T17:33:28Z","closed_at":"2015-02-16T10:42:47Z","body":"Each time I open a new tab I see the following:\r\n\r\n```\r\nLast login: Mon Feb 16 10:36:55 on ttys014\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:setopt:2: no such option: auto_pushd^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:setopt:3: no such option: pushd_ignore_dups^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:setopt:4: no such option: pushdminus^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:5: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:10: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:20: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:24: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/directories.zsh:30: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/history.zsh:10: parse error near `in^M'\r\n/Users/kevinansfield/.oh-my-zsh/lib/key-bindings.zsh:4: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/key-bindings.zsh:88: parse error near `\\n'\r\n/Users/kevinansfield/.oh-my-zsh/lib/misc.zsh:4: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/misc.zsh:setopt:6: no such option: long_list_jobs^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/misc.zsh:7: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/misc.zsh:11: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/misc.zsh:15: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/misc.zsh:18: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/misc.zsh:23: parse error near `\\n'\r\n/Users/kevinansfield/.oh-my-zsh/lib/termsupport.zsh:18: parse error near `elif'\r\n/Users/kevinansfield/.oh-my-zsh/lib/theme-and-appearance.zsh:2: command not found: colors^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/theme-and-appearance.zsh:4: command not found: ^M\r\n/Users/kevinansfield/.oh-my-zsh/lib/theme-and-appearance.zsh:13: parse error near `elif'\r\n${ret_status}$fg_bold[green] $fg[cyan]~ $fg_bold[blue]$(git_prompt_info)$fg_bold[blue] $reset_color\r\n```\r\n\r\nEvery time I type a character I get this:\r\n\r\n```\r\n-zsh:1: url-quote-magic^M: function definition file not found\r\n${ret_status}$fg_bold[green] $fg[cyan]~ $fg_bold[blue]$(git_prompt_info)$fg_bold[blue] $reset_color\r\n```\r\n\r\nWith a fresh install of .oh-my-zsh I see the following:\r\n\r\n```\r\n/Users/kevinansfield/.oh-my-zsh/oh-my-zsh.sh:37: parse error near `||'\r\n```\r\n\r\nThis shows the same error as https://github.com/robbyrussell/oh-my-zsh/issues/3552 but a re-install of zsh through homebrew had no effect.\r\n\r\nIf I remove the `\\` on line 37 of oh-my-zsh.sh so that the command is all on one line, I then get the following error:\r\n\r\n```\r\n/Users/kevinansfield/.oh-my-zsh/oh-my-zsh.sh:43: parse error near `elif'\r\n```\r\n\r\nIs there anything else I can try to get back to a working state?\r\n\r\n---\r\n\r\nOS X Yosemite 10.10.2\r\nzsh 5.0.7 (installed through homebrew)\r\noh-my-zsh 5ee5403 (old version and fresh install, no known custom changes on the old version)"},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/112148050","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/3595#issuecomment-112148050","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/3595","id":112148050,"user":{"login":"doomsbuster","id":4811092,"avatar_url":"https://avatars.githubusercontent.com/u/4811092?v=3","gravatar_id":"","url":"https://api.github.com/users/doomsbuster","html_url":"https://github.com/doomsbuster","followers_url":"https://api.github.com/users/doomsbuster/followers","following_url":"https://api.github.com/users/doomsbuster/following{/other_user}","gists_url":"https://api.github.com/users/doomsbuster/gists{/gist_id}","starred_url":"https://api.github.com/users/doomsbuster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doomsbuster/subscriptions","organizations_url":"https://api.github.com/users/doomsbuster/orgs","repos_url":"https://api.github.com/users/doomsbuster/repos","events_url":"https://api.github.com/users/doomsbuster/events{/privacy}","received_events_url":"https://api.github.com/users/doomsbuster/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T17:33:28Z","updated_at":"2015-06-15T17:33:28Z","body":"I got the issue `/home/ironman/.oh-my-zsh/lib/misc.zsh:3: parse error near `then'`. I followed this post and just did a `git pull origin master` in the .oh-my-zsh directory and it worked. The error is gone."}}