Mercurial > dotfiles
diff .irbrc @ 113:886502b61509
Make irb be smarter.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Mon, 22 Jun 2009 13:33:59 -0500 |
parents | |
children | b2d9ac793cb0 |
line wrap: on
line diff
new file mode 100644 --- /dev/null +++ b/.irbrc @@ -0,0 +1,7 @@ +# -*- 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