Mercurial > ec-dotfiles
annotate rc/irbrc @ 528:92eb89781346
Enforce emacs-style commandline editor.
| author | edogawaconan <me@myconan.net> | 
|---|---|
| date | Mon, 15 Sep 2014 14:56:05 +0900 | 
| parents | 20521d872fab | 
| children | b95069a1f664 | 
| 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" | 
