Coder Social home page Coder Social logo

dotpryrc's Introduction

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.

What is Pry?

An 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.

dotpryrc's People

Contributors

juanitofatas avatar lightyrs avatar vyorkin avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.