Skip to content

Instantly share code, notes, and snippets.

@albertoperdomo
Created July 23, 2010 12:01
Show Gist options
  • Select an option

  • Save albertoperdomo/487353 to your computer and use it in GitHub Desktop.

Select an option

Save albertoperdomo/487353 to your computer and use it in GitHub Desktop.
require 'irb/completion'
require 'irb/ext/save-history'
require 'rubygems'
require 'wirble'
require 'hirb'
#completion
ARGV.concat [ "--readline", "--prompt-mode", "simple" ]
#save history
# 25 entries in the list
IRB.conf[:SAVE_HISTORY] = 25
# Store results in home directory with specified file name
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
#wirble (colorize)
Wirble.init
Wirble.colorize
#hirb
Hirb.enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment