{"action":"created","issue":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4398","labels_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4398/labels{/name}","comments_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4398/comments","events_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4398/events","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4398","id":108123929,"number":4398,"title":"Git syntax for `^..` and `..` does not work with zsh","user":{"login":"ddelnano","id":5855593,"avatar_url":"https://avatars.githubusercontent.com/u/5855593?v=3","gravatar_id":"","url":"https://api.github.com/users/ddelnano","html_url":"https://github.com/ddelnano","followers_url":"https://api.github.com/users/ddelnano/followers","following_url":"https://api.github.com/users/ddelnano/following{/other_user}","gists_url":"https://api.github.com/users/ddelnano/gists{/gist_id}","starred_url":"https://api.github.com/users/ddelnano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddelnano/subscriptions","organizations_url":"https://api.github.com/users/ddelnano/orgs","repos_url":"https://api.github.com/users/ddelnano/repos","events_url":"https://api.github.com/users/ddelnano/events{/privacy}","received_events_url":"https://api.github.com/users/ddelnano/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-24T12:52:32Z","updated_at":"2015-09-25T19:42:23Z","closed_at":"2015-09-25T15:30:35Z","body":"Lets say I have commits with hashes of A and B and I want to see the diff between the two.  I would issue a command like `git diff A^..B`.  However when I do this in zsh I get the following.\r\n\r\n![screen shot 2015-09-24 at 8 49 45 am](https://cloud.githubusercontent.com/assets/5855593/10073789/5c9f83ac-6299-11e5-92b6-9426961e9b6a.png)\r\n\r\nRunning the same command with bash works however.\r\n\r\n![screen shot 2015-09-24 at 8 51 29 am](https://cloud.githubusercontent.com/assets/5855593/10073809/8549b1a6-6299-11e5-9df1-cbf680c6e467.png)\r\n\r\n\r\nDoes anyone have any idea what the issue is here?"},"comment":{"url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/comments/143334660","html_url":"https://github.com/robbyrussell/oh-my-zsh/issues/4398#issuecomment-143334660","issue_url":"https://api.github.com/repos/robbyrussell/oh-my-zsh/issues/4398","id":143334660,"user":{"login":"apjanke","id":2618447,"avatar_url":"https://avatars.githubusercontent.com/u/2618447?v=3","gravatar_id":"","url":"https://api.github.com/users/apjanke","html_url":"https://github.com/apjanke","followers_url":"https://api.github.com/users/apjanke/followers","following_url":"https://api.github.com/users/apjanke/following{/other_user}","gists_url":"https://api.github.com/users/apjanke/gists{/gist_id}","starred_url":"https://api.github.com/users/apjanke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apjanke/subscriptions","organizations_url":"https://api.github.com/users/apjanke/orgs","repos_url":"https://api.github.com/users/apjanke/repos","events_url":"https://api.github.com/users/apjanke/events{/privacy}","received_events_url":"https://api.github.com/users/apjanke/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T19:42:23Z","updated_at":"2015-09-25T19:42:23Z","body":"Good point; didn't know if this was a private repo.\r\n\r\nWeird thing is, I don't have `git` aliased, and I don't need to enclose it in quotes in my `zsh` session. \r\n\r\n```\r\n[~/.oh-my-zsh on ⇄ master]\r\n$ git diff cbc1a0806e910f7b4eed07b992d3d88ff7cb1162^..76a26a2a59d8c6d0f65a4426cdb93920e255aea7 | cat | head\r\ndiff --git a/plugins/atom/README.md b/plugins/atom/README.md\r\nindex 75d77a0..6350c64 100644\r\n--- a/plugins/atom/README.md\r\n+++ b/plugins/atom/README.md\r\n@@ -1,6 +1,8 @@\r\n ## atom\r\n\r\n-Plugin for Atom, a cross platform text and code editor, available for Linux, Mac OS X, and Windows.\r\n+This plugin makes \"at\" a useful function for invoking the Atom Editor.\r\n+\r\n```\r\n\r\nMaybe it's a shell option or similar setting? Here's what I have.\r\n\r\n```\r\n$ setopt\r\nalwaystoend\r\nautocd\r\nnoautomenu\r\nnobeep\r\ncdablevars\r\nextendedhistory\r\nhistexpiredupsfirst\r\nhistignoredups\r\nhistignorespace\r\nhistverify\r\nignoreeof\r\nincappendhistory\r\ninteractive\r\nlogin\r\nlonglistjobs\r\nmonitor\r\npromptsubst\r\npushdignoredups\r\npushdminus\r\nshinstdin\r\nzle\r\n$ echo $histchars\r\n!^#\r\n```"}}