{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4402","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4402/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4402/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4402/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4402","id":108292514,"number":4402,"title":".oh-my-zsh/oh-my-zsh.sh:40: parse error near `||'","user":{"login":"lykhouzov","id":462808,"avatar_url":"https://avatars.githubusercontent.com/u/462808?v=3","gravatar_id":"","url":"https://api.github.com/users/lykhouzov","html_url":"https://github.com/lykhouzov","followers_url":"https://api.github.com/users/lykhouzov/followers","following_url":"https://api.github.com/users/lykhouzov/following{/other_user}","gists_url":"https://api.github.com/users/lykhouzov/gists{/gist_id}","starred_url":"https://api.github.com/users/lykhouzov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lykhouzov/subscriptions","organizations_url":"https://api.github.com/users/lykhouzov/orgs","repos_url":"https://api.github.com/users/lykhouzov/repos","events_url":"https://api.github.com/users/lykhouzov/events{/privacy}","received_events_url":"https://api.github.com/users/lykhouzov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-25T09:33:10Z","updated_at":"2015-09-28T09:41:40Z","closed_at":null,"body":"After last git pull i got following error when open new terminal\r\n```\r\n/home/alykhouzov/.oh-my-zsh/oh-my-zsh.sh:40: parse error near `||'\r\nalykhouzov@empire:~> \r\nalykhouzov@empire:~> echo $SHELL && $SHELL --version \r\n/usr/bin/zsh\r\nzsh 5.1 (x86_64-suse-linux-gnu)\r\nalykhouzov@empire:~/.oh-my-zsh> git branch \r\n* master\r\n\r\n```\r\ncommit is \r\n```\r\ncommit 76a26a2a59d8c6d0f65a4426cdb93920e255aea7\r\n```\r\n\r\n```\r\nalykhouzov@empire:~/.oh-my-zsh> uname -a && cat /etc/os-release \r\nLinux empire 4.1.6-3-desktop #1 SMP PREEMPT Fri Aug 28 10:59:34 UTC 2015 (d867e86) x86_64 x86_64 x86_64 GNU/Linux\r\nNAME=openSUSE\r\nVERSION=\"20150909 (Tumbleweed)\"\r\nVERSION_ID=\"20150909\"\r\nPRETTY_NAME=\"openSUSE 20150909 (Tumbleweed) (x86_64)\"\r\nID=opensuse\r\nANSI_COLOR=\"0;32\"\r\nCPE_NAME=\"cpe:/o:opensuse:opensuse:20150909\"\r\nBUG_REPORT_URL=\"https://bugs.opensuse.org\"\r\nHOME_URL=\"https://opensuse.org/\"\r\nID_LIKE=\"suse\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/143692298","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4402#issuecomment-143692298","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4402","id":143692298,"user":{"login":"ivanlemeshev","id":2150567,"avatar_url":"https://avatars.githubusercontent.com/u/2150567?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanlemeshev","html_url":"https://github.com/ivanlemeshev","followers_url":"https://api.github.com/users/ivanlemeshev/followers","following_url":"https://api.github.com/users/ivanlemeshev/following{/other_user}","gists_url":"https://api.github.com/users/ivanlemeshev/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanlemeshev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanlemeshev/subscriptions","organizations_url":"https://api.github.com/users/ivanlemeshev/orgs","repos_url":"https://api.github.com/users/ivanlemeshev/repos","events_url":"https://api.github.com/users/ivanlemeshev/events{/privacy}","received_events_url":"https://api.github.com/users/ivanlemeshev/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T09:41:40Z","updated_at":"2015-09-28T09:41:40Z","body":"I have the same error after upgrade.\r\n\r\n```\r\nlmshv% shasum $ZSH/oh-my-zsh.sh\r\n059fc44fa5bccd75638849eac77c765dad2cb218  /Users/ivan/.oh-my-zsh/oh-my-zsh.sh\r\n```\r\n\r\n```\r\nLast login: Mon Sep 28 15:35:04 on ttys003\r\n/Users/ivan/.oh-my-zsh/oh-my-zsh.sh:40: parse error near `||'\r\nlmshv% echo $SHELL && $SHELL --version\r\n/bin/zsh\r\nzsh 5.0.5 (x86_64-apple-darwin14.0)\r\nlmshv% uname -a\r\nDarwin lmshv.local 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53 PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64\r\nlmshv% git branch\r\n* master\r\n```\r\n\r\n```\r\nb05ef10 - (HEAD, origin/master, origin/HEAD, master) Merge pull request #4121 from apjanke/chucknorris-check-for-fortune (14 hours ago) <Robby Russell>\r\na51a916 - Merge pull request #4348 from andybateman/patch-1 (14 hours ago) <Robby Russell>\r\n9e29103 - Merge pull request #4394 from PrestanceDesign/new-git-alias (14 hours ago) <Robby Russell>\r\n156fa5f - Merge pull request #4396 from TylerCharlesworth/patch-1 (14 hours ago) <Robby Russell>\r\n4b902d7 - Merge pull request #4410 from justVitalius/master (14 hours ago) <Robby Russell>\r\ndc3413b - Fix print rvm version in amuse theme (18 hours ago) <justvitalius>\r\nb75b0b8 - Merge pull request #4333 from mbologna/fedora_plugin (2 days ago) <Robby Russell>\r\n935948c - Merge pull request #3646 from apjanke/installer-cygwin-support-3 (2 days ago) <Robby Russell>\r\nb5a5bc9 - Merge pull request #4337 from iCross/master (2 days ago) <Robby Russell>\r\nf186b62 - Merge pull request #4387 from mbologna/fix_git_equal_remote (2 days ago) <Robby Russell>\r\nd47219f - Merge pull request #4397 from vidakovic/master (2 days ago) <Robby Russell>\r\nc932eb3 - Merge pull request #4385 from Philosoft/patch-1 (2 days ago) <Robby Russell>\r\nc076fc0 - Merge pull request #4392 from ag4ve/patch-1 (2 days ago) <Robby Russell>\r\n4204cfd - Merge pull request #4408 from DoomHammer/fix-chruby-test-expression (2 days ago) <Robby Russell>\r\na97a308 - Merge pull request #4349 from FishingCactus/fix-atom_plugin_for_cygwin (2 days ago) <Robby Russell>\r\n3b2d036 - Merge pull request #4377 from fcrozat/master (2 days ago) <Robby Russell>\r\nccc86da - Merge pull request #4375 from PrestanceDesign/capistrano-plugin-fix (2 days ago) <Robby Russell>\r\na861719 - Merge pull request #4340 from pahnev/master (2 days ago) <Robby Russell>\r\n```"}}