cldwalker / hirb

A mini view framework for console/irb that's easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.
http://tagaholic.me/hirb/
MIT License
1.65k stars 72 forks source link

Hirb.enable by default #77

Closed joallard closed 10 years ago

joallard commented 10 years ago

I love this gem. Is there a way to make Hirb enabled by default without calling it at the beginning of each irb session?

cldwalker commented 10 years ago

Thanks for reporting your issue! This is one of my 13 active issues. Use that link to check how soon your issue will be answered. Don't forget to check your issue against this project's CONTRIBUTING.md. Cheers.

cldwalker commented 10 years ago

Sure. Just put require 'hirb'; Hirb.enable in your ~/.irbrc

joallard commented 10 years ago

This also works with Rails, thanks!