dotpryrc for you and me!
My customized fork of the original dotpryrc.
I want my tools to just work, right now, out of the box, without a pain. I want to be able to dig into a problem & debug as quickly as possible. And also i want syntax highlighting & code formatting in a Pry session.
Pry?
What isAn IRB alternative and runtime developer console.
What is .pryrc?
Pry startup file, more information The .pryrc file.
What's inside?
- A security check for your old Ruby.
- Better printing via hirb and awesome_print.
- Four convenient hotkeys when travelling in debugging.
- Customized hotkeys for Ruby and Pry built-in commands.
- Copy-to-clipboard utility for OSX or one-command install away for non OSX.
- Added helpers:
lorem
Ipsum,to_yaml
abstraction,Array#toy
,Hash#toy
...etc. - Save Pry's history to
.irb_history
for Environment protection.
Installation
Clone this repo somewhere (e.g. ~/.dotpryrc) and
require 'dotpryrc/bootstrap'
in your ~/.pryrc,
than install missing gems & you're set.
Your pry history file, pry theme and editor is set here. Please take a quick look at the defaults cuz you might want to change them.
Usage
If you're using ruby 2 + byebug + pry-byebug, there are some aliases available for you.
Fork & customize it for your personal needs.