summaryrefslogtreecommitdiff
path: root/.irbrc
blob: 0d2f5b40a725f98be1ba0704a2b8243206a55653 (plain)
1
2
3
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"