Skip to content

Instantly share code, notes, and snippets.

@kusor
Created May 12, 2009 08:41
Show Gist options
  • Save kusor/110393 to your computer and use it in GitHub Desktop.
Save kusor/110393 to your computer and use it in GitHub Desktop.
require 'irb/completion'
require 'irb/ext/save-history'
ARGV.concat [ "--readline", "--prompt-mode", "simple" ]
IRB.conf[:SAVE_HISTORY] = 100
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment