{"action":"created","issue":{"url":"https://api.github.com/repos/pry/pry/issues/1490","labels_url":"https://api.github.com/repos/pry/pry/issues/1490/labels{/name}","comments_url":"https://api.github.com/repos/pry/pry/issues/1490/comments","events_url":"https://api.github.com/repos/pry/pry/issues/1490/events","html_url":"https://github.com/pry/pry/issues/1490","id":117607801,"number":1490,"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":[{"url":"https://api.github.com/repos/pry/pry/labels/bug","name":"bug","color":"e02020"}],"state":"closed","locked":false,"assignee":{"login":"strcmp","id":8934693,"avatar_url":"https://avatars.githubusercontent.com/u/8934693?v=3","gravatar_id":"","url":"https://api.github.com/users/strcmp","html_url":"https://github.com/strcmp","followers_url":"https://api.github.com/users/strcmp/followers","following_url":"https://api.github.com/users/strcmp/following{/other_user}","gists_url":"https://api.github.com/users/strcmp/gists{/gist_id}","starred_url":"https://api.github.com/users/strcmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strcmp/subscriptions","organizations_url":"https://api.github.com/users/strcmp/orgs","repos_url":"https://api.github.com/users/strcmp/repos","events_url":"https://api.github.com/users/strcmp/events{/privacy}","received_events_url":"https://api.github.com/users/strcmp/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2015-11-18T15:13:10Z","updated_at":"2015-11-18T16:50:47Z","closed_at":"2015-11-18T16:50:47Z","body":"In pry\r\n`ls = 1`\r\noperates as regular `ls` command, with arguments `= 1`, which is obviously not intended.\r\n\r\nRemoving spaces in the assignment, i.e., `ls=1` seems to work, but the the value is only accessible via `binding.local_variable_get(:ls)`, which is far from convenient.\r\n\r\nMaybe this is a Pry parsing limitation, but a workaround is very much desired.\r\n\r\nThis issue is a sibling of https://github.com/deivid-rodriguez/pry-byebug/issues/83."},"comment":{"url":"https://api.github.com/repos/pry/pry/issues/comments/157775789","html_url":"https://github.com/pry/pry/issues/1490#issuecomment-157775789","issue_url":"https://api.github.com/repos/pry/pry/issues/1490","id":157775789,"user":{"login":"strcmp","id":8934693,"avatar_url":"https://avatars.githubusercontent.com/u/8934693?v=3","gravatar_id":"","url":"https://api.github.com/users/strcmp","html_url":"https://github.com/strcmp","followers_url":"https://api.github.com/users/strcmp/followers","following_url":"https://api.github.com/users/strcmp/following{/other_user}","gists_url":"https://api.github.com/users/strcmp/gists{/gist_id}","starred_url":"https://api.github.com/users/strcmp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strcmp/subscriptions","organizations_url":"https://api.github.com/users/strcmp/orgs","repos_url":"https://api.github.com/users/strcmp/repos","events_url":"https://api.github.com/users/strcmp/events{/privacy}","received_events_url":"https://api.github.com/users/strcmp/received_events","type":"User","site_admin":false},"created_at":"2015-11-18T16:50:46Z","updated_at":"2015-11-18T16:50:46Z","body":"@adrianomitre I spoke with ryanf(@rf-) and basically it is not trivial to support the space prefix any longer, and it has been known to be broken for a while. so we will do as you suggest, and keep option 1 & 2 for consistency. "}}