Didi you know? - Wirble Reverse

Did you know Wirble is about a 1000x more helpful if you set
:history_uniq to :reverse:

# ~/.irbrc
require 'wirble'
Wirble.init(:history_uniq=>:reverse)
Wirble.colorize

Now what you type will remain closer to where you’re at!

Why isn’t :reverse the default? I have no idea. I wish it were. But such
is
the nature of legacy decisions some times.

Enjoy.

Intransition [2011-12-13 05:02]:

Why isn’t :reverse the default? I have no idea. I wish it were.
But such is the nature of legacy decisions some times.
true. but it’s the default in /brice/, which inherited most of
wirble’s functionality after i abandoned my fork of it (plus: it
preserves the history across overlapping irb sessions).

https://github.com/blackwinter/brice/blob/master/lib/brice/history.rb#L39-40

however, note that brice, by default, does more than wirble - and
differently. to more or less mimic wirble’s behaviour you’d have to
do something like this:

---- [~/.irbrc] ----
require ‘brice’
Brice.init { |config| config.only(:history, :colours) }