Created
September 9, 2008 14:04
-
-
Save danlucraft/9680 to your computer and use it in GitHub Desktop.
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
# put this into ~/.irbrc | |
require 'irb/completion' | |
ARGV.concat [ "--readline", "--prompt-mode", "simple" ] | |
IRB.conf[:EVAL_HISTORY] = 1000 | |
IRB.conf[:SAVE_HISTORY] = 1000 | |
IRB.conf[:HISTORY_FILE] = File::expand_path("~/.irbhistory") | |
# if you get readline missing errors you will need to install readline for your OS, then | |
# recompile Ruby with readline enabled in the ruby_src/ext/Setup file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment