annotate rc/irbrc @ 681:137b18a1898e

[cek.py] Python 3
author nanaya <me@nanaya.pro>
date Fri, 24 Jun 2022 15:14:54 +0900
parents b95069a1f664
children 6010e722b5da
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"
677
b95069a1f664 [irbrc] Disable autocomplete
nanaya <me@nanaya.pro>
parents: 482
diff changeset
4 IRB.conf[:USE_AUTOCOMPLETE] = false