Issue #7679 has been updated by zzak (Zachary Scott).


keiju (Keiju Ishitsuka) wrote:
> This behavior of Irb is modeled on csh or tcsh.
> I admit that the Irb's document is not sufficient.

That is a low blow Keiju-san :(

I will fix the Irb documentation for these configuration options.

----------------------------------------
Bug #7679: IRB history is broken
https://bugs.ruby-lang.org/issues/7679#change-35383

Author: zzak (Zachary Scott)
Status: Assigned
Priority: Normal
Assignee: keiju (Keiju Ishitsuka)
Category: lib
Target version: 2.0.0
ruby -v: 2.0.0


steps to reproduce:
$ irb
irb(main):001:> 1 + 2
=> 3
irb(main):002:0> exit
$ irb
irb(main):001:0> *up arrow* nothing

I should see at least "1 + 2" when I hit the up arrow.

Using: ruby 2.0.0dev (2012-12-30 trunk 38663) [x86_64-linux]

Also confirmed on: ruby 2.0.0dev (2013-01-07 trunk 38734) [x86_64-darwin12.2.0]


-- 
http://bugs.ruby-lang.org/