From: Ben Bleything Date: 2007-11-20T06:07:20+09:00 Subject: Re: Is there an equivalent in irb to command: history in bash? On Tue, Nov 20, 2007, sishen wrote: > Hi, Ben. really great work, :) Thanks! > One more feature request: Why not auto save the history in .irb_history, > just like what the history of bash does? So that's something that should probably be documented better. The code that I wrote relies on pre-existing history enabler code. It is meant as a supplement to something like Michael Granger's persistent IRB history: http://www.rubygarden.org/Ruby/page/show/Irb/TipsAndTricks or Wirble (gem install wirble), which just packages the above with some other IRB hacks. If you set up Michael's code or install wirble and enable history, it'll save your history between sessions. My code does not replace that stuff; it serves a different purpose. Mine is about accessing the history you already have. I've been meaning to re-open a conversation I was having with wirble's author over a year ago, to get my code included there. Once that happens (if Paul is still interested), you'll be able to just install/enable wirble and have all your history goodies for free. Hope that answers your question :) Ben