{"action":"opened","issue":{"url":"https://api.github.com/repos/rbenv/rbenv/issues/854","labels_url":"https://api.github.com/repos/rbenv/rbenv/issues/854/labels{/name}","comments_url":"https://api.github.com/repos/rbenv/rbenv/issues/854/comments","events_url":"https://api.github.com/repos/rbenv/rbenv/issues/854/events","html_url":"https://github.com/rbenv/rbenv/issues/854","id":125668853,"number":854,"title":"Add `rbenv shell -` to switch back to previous version of Ruby","user":{"login":"tenderlove","id":3124,"avatar_url":"https://avatars.githubusercontent.com/u/3124?v=3","gravatar_id":"","url":"https://api.github.com/users/tenderlove","html_url":"https://github.com/tenderlove","followers_url":"https://api.github.com/users/tenderlove/followers","following_url":"https://api.github.com/users/tenderlove/following{/other_user}","gists_url":"https://api.github.com/users/tenderlove/gists{/gist_id}","starred_url":"https://api.github.com/users/tenderlove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenderlove/subscriptions","organizations_url":"https://api.github.com/users/tenderlove/orgs","repos_url":"https://api.github.com/users/tenderlove/repos","events_url":"https://api.github.com/users/tenderlove/events{/privacy}","received_events_url":"https://api.github.com/users/tenderlove/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-08T18:45:17Z","updated_at":"2016-01-08T18:45:17Z","closed_at":null,"body":"Hi,\r\n\r\nI think it would be cool if you could do `rbenv shell -` and have `-` mean \"the previous version I was using\".  Similar to `cd -` and `git checkout -`.  I usually use trunk Ruby installed in to my ruby-build directories, but sometimes I need to switch to stable, then switch back.\r\n\r\nI'm not sure if this is the right place to file the ticket.  Also, I'll try to implement this eventually but I don't have the time right now. I just wanted to file a ticket so that I won't forget and in case other people have time.\r\n\r\nThanks!"}}