view .irbrc @ 262:3350b219b653

wcroot: use git to directly find repo root. git cleverly hides this under git-rev-parse, which isn't a place I'd have ever thought to look. Thanks to Jacob Lee for the tip.
author Augie Fackler <durin42@gmail.com>
date Fri, 17 Jun 2011 09:46:17 -0500
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"