Skip to content

Instantly share code, notes, and snippets.

@geopet
Created February 14, 2014 15:52

Revisions

  1. geopet created this gist Feb 14, 2014.
    11 changes: 11 additions & 0 deletions .irbrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    require 'rubygems'

    require 'interactive_editor'
    require 'awesome_print'

    AwesomePrint.irb!

    IRB.conf[:PROMPT_MODE] = :SIMPLE
    IRB.conf[:EVAL_HISTORY] = 1000
    IRB.conf[:SAVE_HISTORY] = 1000
    IRB.conf[:HISTORY_FILE] = File::expand_path("~/.irbhistory")