view rc/irbrc @ 530:0ab0820fd528

Red-colored prompt for root?
author edogawaconan <me@myconan.net>
date Fri, 17 Oct 2014 10:23:36 +0900
parents 20521d872fab
children b95069a1f664
line wrap: on
line source

require 'irb/ext/save-history'
IRB.conf[:SAVE_HISTORY] = 20000
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"