annotate rc/irbrc @ 511:ce21ebae61b4

Add /opt/local beforehand in sunos.
author edogawaconan <me@myconan.net>
date Sun, 16 Mar 2014 07:50:57 +0000
parents 20521d872fab
children b95069a1f664
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
482
20521d872fab Add irbrc to keep history of commands.
edogawaconan <me@myconan.net>
parents:
diff changeset
1 require 'irb/ext/save-history'
20521d872fab Add irbrc to keep history of commands.
edogawaconan <me@myconan.net>
parents:
diff changeset
2 IRB.conf[:SAVE_HISTORY] = 20000
20521d872fab Add irbrc to keep history of commands.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"