{"action":"created","issue":{"url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/83","labels_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/83/labels{/name}","comments_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/83/comments","events_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/83/events","html_url":"https://github.com/deivid-rodriguez/pry-byebug/issues/83","id":117606107,"number":83,"title":"commands, aliased or not, overshadow variables","user":{"login":"adrianomitre","id":456804,"avatar_url":"https://avatars.githubusercontent.com/u/456804?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianomitre","html_url":"https://github.com/adrianomitre","followers_url":"https://api.github.com/users/adrianomitre/followers","following_url":"https://api.github.com/users/adrianomitre/following{/other_user}","gists_url":"https://api.github.com/users/adrianomitre/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianomitre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianomitre/subscriptions","organizations_url":"https://api.github.com/users/adrianomitre/orgs","repos_url":"https://api.github.com/users/adrianomitre/repos","events_url":"https://api.github.com/users/adrianomitre/events{/privacy}","received_events_url":"https://api.github.com/users/adrianomitre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-18T15:04:51Z","updated_at":"2016-01-10T02:53:07Z","closed_at":"2016-01-10T00:21:54Z","body":"After adding the suggested alias_command to my .pryrc, trying to set any single character aliased command with a space after it, such as in the following\r\n`s = 1`\r\ngenerates the following error\r\n> Error: Cannot find local context. Did you use `binding.pry`?\r\n\r\nwhich is the same error one would get with\r\n    `s`\r\nwhich means that Pry is parsing `s = nil` as command `s` with arguments `= 1`, which is obviously not intended. Removing spaces in the assignment, i.e., `s=1` seems to work, but the the value is only accessible via `binding.local_variable_get(:s)`, which is far from convenient.\r\n\r\nMaybe this is a Pry parsing limitation, but a workaround is very much desired. At least a warning in the Matching Byebug Behaviour section the README.md is in order.\r\n\r\nThis issue is a sibling of https://github.com/pry/pry/issues/1490."},"comment":{"url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/comments/170302690","html_url":"https://github.com/deivid-rodriguez/pry-byebug/issues/83#issuecomment-170302690","issue_url":"https://api.github.com/repos/deivid-rodriguez/pry-byebug/issues/83","id":170302690,"user":{"login":"adrianomitre","id":456804,"avatar_url":"https://avatars.githubusercontent.com/u/456804?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianomitre","html_url":"https://github.com/adrianomitre","followers_url":"https://api.github.com/users/adrianomitre/followers","following_url":"https://api.github.com/users/adrianomitre/following{/other_user}","gists_url":"https://api.github.com/users/adrianomitre/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianomitre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianomitre/subscriptions","organizations_url":"https://api.github.com/users/adrianomitre/orgs","repos_url":"https://api.github.com/users/adrianomitre/repos","events_url":"https://api.github.com/users/adrianomitre/events{/privacy}","received_events_url":"https://api.github.com/users/adrianomitre/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T02:53:07Z","updated_at":"2016-01-10T02:53:07Z","body":"Right"}}