Skip to content

Instantly share code, notes, and snippets.

@geopet
Created February 14, 2014 15:52
Show Gist options
  • Save geopet/9003459 to your computer and use it in GitHub Desktop.
Save geopet/9003459 to your computer and use it in GitHub Desktop.
general .irbrc config
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")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment