Skip to content

Instantly share code, notes, and snippets.

@jsmecham
Last active July 16, 2018 19:50
Show Gist options
  • Save jsmecham/7001275 to your computer and use it in GitHub Desktop.
Save jsmecham/7001275 to your computer and use it in GitHub Desktop.
require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 200
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