diff .irbrc @ 119:b2d9ac793cb0

Have irb save history.
author Augie Fackler <durin42@gmail.com>
date Thu, 02 Jul 2009 11:27:31 -0500
parents 886502b61509
children
line wrap: on
line diff
--- a/.irbrc
+++ b/.irbrc
@@ -5,3 +5,5 @@ IRB.conf[:LOAD_MODULES] = []  unless IRB
 unless IRB.conf[:LOAD_MODULES].include?('irb/completion')
   IRB.conf[:LOAD_MODULES] << 'irb/completion'
 end
+IRB.conf[:SAVE_HISTORY] = 1000
+IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"