Skip to content

Instantly share code, notes, and snippets.

@dayyan
Created September 13, 2013 23:05
Show Gist options
  • Save dayyan/6557187 to your computer and use it in GitHub Desktop.
Save dayyan/6557187 to your computer and use it in GitHub Desktop.
require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 99999
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment