changeset 113:886502b61509

Make irb be smarter.
author Augie Fackler <durin42@gmail.com>
date Mon, 22 Jun 2009 13:33:59 -0500
parents 57cbf4b59097
children d4845549ed7c
files .irbrc
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
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