Skip to content

Instantly share code, notes, and snippets.

@blaxter
Created April 9, 2009 15:49
Show Gist options
  • Save blaxter/92539 to your computer and use it in GitHub Desktop.
Save blaxter/92539 to your computer and use it in GitHub Desktop.
~/.irbrc
require 'irb/completion'
IRB.conf[:SAVE_HISTORY] = 1000
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-save-history"
IRB.conf[:AUTO_INDENT] = true
IRB.conf[:PROMPT_MODE] = :SIMPLE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment