Last active
December 14, 2015 22:49
-
-
Save eagleas/5161173 to your computer and use it in GitHub Desktop.
irb with history
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 'irb/ext/save-history' | |
#History configuration | |
IRB.conf[:SAVE_HISTORY] = 1000 | |
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment