Created
August 27, 2013 21:42
-
-
Save pgib/6359557 to your computer and use it in GitHub Desktop.
OMG WHY HAVE I NOT ALWAYS HAD THIS??
This file contains 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
IRB.conf[:USE_READLINE] = true | |
# awesome print | |
begin | |
require 'awesome_print' | |
AwesomePrint.irb! | |
rescue LoadError => err | |
warn "Couldn't load awesome_print: #{err}" | |
end | |
# irb history | |
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