Mercurial > dotfiles
view .irbrc @ 291:142fb39e4e55
hg-rebase-all: correctly use rebase result code
Exit status 1 can mean "nothing to rebase", which isn't helpful for
our case. Added a slight tangle of if statements to work around that.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 17 Oct 2012 08:21:28 -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"