changeset 724:6faa6995937f

[irbrc] remove unneeded require and set history count first
author nanaya <me@nanaya.net>
date Tue, 03 Sep 2024 19:05:14 +0900
parents 440e800e9be0
children 0a896ffe3029
files rc/irbrc
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rc/irbrc	Mon Aug 19 17:05:46 2024 +0900
+++ b/rc/irbrc	Tue Sep 03 19:05:14 2024 +0900
@@ -1,5 +1,4 @@
-require 'irb/ext/save-history'
+IRB.conf[:SAVE_HISTORY] = 20000
 IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history"
-IRB.conf[:SAVE_HISTORY] = 20000
 IRB.conf[:USE_AUTOCOMPLETE] = false
 IRB.conf[:USE_MULTILINE] = false