diff options
Diffstat (limited to 'lib/irb.rb')
-rw-r--r-- | lib/irb.rb | 9 |
1 files changed, 4 insertions, 5 deletions
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 +# <code>~/.irb_history</code>. # -# 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 <code>~/.irb_history</code>. +# IRB.conf[:SAVE_HISTORY] = nil # # See IRB::Context#save_history= for more information. # |