summaryrefslogtreecommitdiff
path: root/.config/irbrc
diff options
context:
space:
mode:
Diffstat (limited to '.config/irbrc')
-rw-r--r--.config/irbrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/irbrc b/.config/irbrc
new file mode 100644
index 0000000..27cce66
--- /dev/null
+++ b/.config/irbrc
@@ -0,0 +1,4 @@
+require 'rubygems' unless defined? Gem # only needed in 1.8
+require 'irb/ext/save-history'
+IRB.conf[:SAVE_HISTORY] = 5000
+IRB.conf[:HISTORY_FILE] = "#{ENV['XDG_CACHE_HOME']}/irb/history" \ No newline at end of file