annotate rc/irbrc @ 722:b957af519d58

Remove warning on detached head
author nanaya <me@nanaya.net>
date Mon, 19 Aug 2024 17:04:58 +0900
parents 6010e722b5da
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