summaryrefslogtreecommitdiff
path: root/.irbrc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 14:40:57 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 14:40:57 -0400
commit0f235666059f48da7e4629037a2543e9ab4558e0 (patch)
tree7490e5dc8a2e3847bc5302c1cad5a7250e862cdc /.irbrc
parentc2b60a1be6932872dfad6cd0b90d42794a634996 (diff)
parent9b1cd870ad6968a79ca6ade38014a466290dbe9f (diff)
Merge branch 'thinkpenguin-par' of /home/luke/. into thinkpenguin-par
Diffstat (limited to '.irbrc')
-rw-r--r--.irbrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.irbrc b/.irbrc
index 7596d96..0d2f5b4 100644
--- a/.irbrc
+++ b/.irbrc
@@ -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