view .irbrc @ 237:b9f4d059eb69

emacs: function to set window width interactively
author Augie Fackler <durin42@gmail.com>
date Wed, 23 Feb 2011 16:32:36 -0600
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"