annotate rc/irbrc @ 684:6010e722b5da

[irbrc] Disable syntax highlighting as it slows down things Reference: https://github.com/ruby/irb/issues/292
author nanaya <me@nanaya.pro>
date Wed, 14 Sep 2022 19:06:13 +0900
parents b95069a1f664
children 6faa6995937f
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'
684
6010e722b5da [irbrc] Disable syntax highlighting as it slows down things
nanaya <me@nanaya.pro>
parents: 677
diff changeset
2 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"
482
20521d872fab Add irbrc to keep history of commands.
edogawaconan <me@myconan.net>
parents:
diff changeset
3 IRB.conf[:SAVE_HISTORY] = 20000
677
b95069a1f664 [irbrc] Disable autocomplete
nanaya <me@nanaya.pro>
parents: 482
diff changeset
4 IRB.conf[:USE_AUTOCOMPLETE] = false
684
6010e722b5da [irbrc] Disable syntax highlighting as it slows down things
nanaya <me@nanaya.pro>
parents: 677
diff changeset
5 IRB.conf[:USE_MULTILINE] = false