diff rc/irbrc @ 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 6010e722b5da
children
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