Mercurial > dotfiles
view .irbrc @ 221:6aad20d9fcb0
emacs gui: move gui initialization code to a function
Given the weirdness observed in gui init with daemon mode,
this should make life with daemon mode easier.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 07 Sep 2010 19:33:23 -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"