diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-08-14 14:32:10 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-08-14 14:32:10 -0400 |
commit | bcb74a7b9567b8ded2f816b49b51f7e8139a2cfb (patch) | |
tree | cdd42b9645dd3db832cbebbfe5c51ecd5cd8ec1d /.irbrc | |
parent | f352d152b3ecefb8ae8acc95eaa73735f95ac938 (diff) |
.irbrc: save the history
Diffstat (limited to '.irbrc')
-rw-r--r-- | .irbrc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1 +1,4 @@ require 'rubygems' unless defined? Gem # only needed in 1.8 +require 'irb/ext/save-history' +IRB.conf[:SAVE_HISTORY] = 1000 +IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
\ No newline at end of file |