summaryrefslogtreecommitdiff
path: root/.config/irbrc
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 14:52:45 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-08-14 14:52:45 -0400
commit5ab72cd4fe62ac88117ebd521ffb8cfde4485645 (patch)
treeff788aed372a4c6a512c21264192f4cc0c819286 /.config/irbrc
parent0f235666059f48da7e4629037a2543e9ab4558e0 (diff)
move a bunch of things into XDG directories
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