Skip to content

Instantly share code, notes, and snippets.

@kshimi
Last active October 12, 2018 00:33
Show Gist options
  • Save kshimi/de883f51b22dd790147aed302e126334 to your computer and use it in GitHub Desktop.
Save kshimi/de883f51b22dd790147aed302e126334 to your computer and use it in GitHub Desktop.
pryrc for inf-ruby(emacs) on windows
class Emacsable
def self.readline(prompt)
print prompt
(gets || '').chomp
end
end
Pry.config.input = Emacsable
Pry.config.pager = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment