summaryrefslogtreecommitdiff
path: root/.irbrc
diff options
context:
space:
mode:
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