diff rc/irbrc @ 482:20521d872fab

Add irbrc to keep history of commands.
author edogawaconan <me@myconan.net>
date Tue, 24 Sep 2013 17:29:18 +0900
parents
children b95069a1f664
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/rc/irbrc	Tue Sep 24 17:29:18 2013 +0900
@@ -0,0 +1,3 @@
+require 'irb/ext/save-history'
+IRB.conf[:SAVE_HISTORY] = 20000
+IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"