summaryrefslogtreecommitdiff
path: root/.config/irbrc
blob: cda5adadbfb5922d82263a1a0551fce78dff85a4 (plain)
1
2
3
4
5
# -*- mode: Ruby -*-
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"