Skip to content

Instantly share code, notes, and snippets.

@eagleas
Last active December 14, 2015 22:49
Show Gist options
  • Save eagleas/5161173 to your computer and use it in GitHub Desktop.
Save eagleas/5161173 to your computer and use it in GitHub Desktop.
irb with history
require 'irb/ext/save-history'
#History configuration
IRB.conf[:SAVE_HISTORY] = 1000
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