view .irbrc @ 370:1e4a6dcc043d

hgrc: clean up machine-specific settings handling HGRCPATH ends up overriding machine-wide settings, which isn't what I want. Recent hg is nice enough to silently ignore includes of nonexistent files, so just use %include now.
author Augie Fackler <raf@durin42.com>
date Fri, 25 Sep 2015 14:42:23 -0400
parents b2d9ac793cb0
children
line wrap: on
line source

# -*- mode:ruby -*-
IRB.conf[:AUTO_INDENT] = true
IRB.conf[:USE_READLINE] = true
IRB.conf[:LOAD_MODULES] = []  unless IRB.conf.key?(:LOAD_MODULES)
unless IRB.conf[:LOAD_MODULES].include?('irb/completion')
  IRB.conf[:LOAD_MODULES] << 'irb/completion'
end
IRB.conf[:SAVE_HISTORY] = 1000
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"