From 078e50c5e9c53d935bdea6ca3ae156c0edcea467 Mon Sep 17 00:00:00 2001 From: aycabta Date: Mon, 15 Jul 2019 01:16:18 +0900 Subject: Save history in IRB is enabled by default --- lib/irb.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lib/irb.rb') diff --git a/lib/irb.rb b/lib/irb.rb index e0e4b1a155..2b00de9f62 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -122,13 +122,12 @@ require "irb/version" # # === History # -# By default, irb disables history and will not store any commands you used. +# By default, irb will store the last 1000 commands you used in +# ~/.irb_history. # -# If you want to enable history, add the following to your +.irbrc+: +# If you want to disable history, add the following to your +.irbrc+: # -# IRB.conf[:SAVE_HISTORY] = 1000 -# -# This will now store the last 1000 commands in ~/.irb_history. +# IRB.conf[:SAVE_HISTORY] = nil # # See IRB::Context#save_history= for more information. # -- cgit v1.2.3