Commits

Mike Steder  committed 405d8ef

Adding irbrc with autocompletion goodness

  • Participants
  • Parent commits b5107f2

Comments (0)

Files changed (1)

+#-*- mode: ruby -*-
+require 'rubygems'
+require 'wirble'
+
+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
+
+Wirble.init
+Wirble.colorize