Created
February 4, 2010 23:04
-
-
Save ecavazos/295245 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require "rubygems" | |
| require 'hirb' | |
| Hirb.enable :output=>{'Object'=>{:class=>:auto_table, :ancestor=>true}} | |
| IRB.conf[:AUTO_INDENT] = true | |
| IRB.conf[:USE_READLINE] = true | |
| # Remove the annoying irb(main):001:0 and replace with >> | |
| IRB.conf[:PROMPT_MODE] = :SIMPLE | |
| # Tab Completion | |
| require 'irb/completion' | |
| # Save History between irb sessions | |
| require 'irb/ext/save-history' | |
| IRB.conf[:SAVE_HISTORY] = 100 | |
| IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history" | |
| IRB.conf[:LOAD_MODULES] = [] unless IRB.conf.key?(:LOAD_MODULES) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment