Skip to content

JuanitoFatas/dotpryrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

dotpryrc for you and me!

What is Pry?

An IRB alternative and runtime developer console.

What is .pryrc?

Pry startup file, more information The .pryrc file.

What's inside? (Bold is highlight)

  • Nice welcome & farewell message when you enter & leave Pry.
  • Ability to load daily-used gem. Loaded benchmark for you.
  • A security check for your old Ruby.
  • Better printing via hirb and awesome_print.
  • Customized Prompt to make you feel at home.
  • 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.
  • Autoload console commands for you if you're riding with Rails.
  • Live Programming and code reloading with sketches.
  • Added helpers: lorem Ipsum, to_yaml abstraction, Array#toy, Hash#toy...etc.
  • Save Pry's history to .irb_history for Environment protection.

Install

Make sure backup your own .pryrc first!!!

Download the zip then put these two files (.pryrc and .pryrc-helpers.rb) to your home directory.

If you see Missing ... goodies. You could install these missing gems via gem install.

Contribute

This is just for fun. But it's always nice to have a more versatile Pry. Please contribute.

Fork this project, add your awesome pryrc goodies, commit then push, and pull request back.

Got good quotes? Best jokes? Consider add them to welcome and farewell messages to make life alive ❤.

That's all!

Have fun! ❤ ❤ ❤

Pry welcome you with a nice message!

If you like this, please drop me a tweet to @JuanitoFatas. Glad to hear from you soon.

Releases

No releases published

Packages

No packages published

Languages