From bbabf818c7c424f44762f2a27458c9f29c289227 Mon Sep 17 00:00:00 2001 From: Eddie Lebow <7873686+elebow@users.noreply.github.com> Date: Thu, 25 Jan 2024 05:20:44 -0500 Subject: [PATCH] Reword history file documentation and fix typo (#842) --- lib/irb.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/lib/irb.rb b/lib/irb.rb index 0ff87d570..6e3448d69 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -203,11 +203,10 @@ # # === Input Command History # -# By default, \IRB stores a history of up to 1000 input commands -# in file ~/.irb_history -# (or, if a {configuration file}[rdoc-ref:IRB@Configuration+File] -# is found, in file +.irb_history+ -# inin the same directory as that file). +# By default, \IRB stores a history of up to 1000 input commands in a +# file named .irb_history. The history file will be in the same directory +# as the {configuration file}[rdoc-ref:IRB@Configuration+File] if one is found, or +# in ~/ otherwise. # # A new \IRB session creates the history file if it does not exist, # and appends to the file if it does exist.