Hacker News new | ask | show | jobs
by aviandnuskii 913 days ago
This is so cool. I have been trying to replace the default history lookup in irb with fzf but have not found a clear path to do so. Maybe the irb team can also make it easier to do this.
1 comments

This allows you to use fzf with IRB. It works with anything that uses readline, which IRB uses. https://github.com/lincheney/rl_custom_isearch

it works for me on linux, not sure about other OS's. Although I'm now noticing that the article linked in the original post says that Ruby has a pure Ruby replacement for readline: Reline. So I wonder if it will not work with more recent versions of Ruby that use Reline?

Thanks. I'll check this out