Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 216 Bytes
require "rubygems"
IRB.conf[:PROMPT_MODE] = :SIMPLE
def require_rb_files_from(dir)
Dir.glob(File.join(dir, "*.rb")) do |file|
require file
end
end
require_rb_files_from(File.join(ENV["HOME"], ".irbrc.d"))