Mercurial > ec-dotfiles
annotate rc/irbrc @ 679:8fa04c2a9896
[cronic] update
author | nanaya <me@nanaya.pro> |
---|---|
date | Thu, 28 Apr 2022 17:13:12 +0900 |
parents | b95069a1f664 |
children | 6010e722b5da |
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" |
677 | 4 IRB.conf[:USE_AUTOCOMPLETE] = false |