While #ruby #reline is still figuring out the proper way to configure autocomplete color settings, here's a way to fix the colors with a monkey patch. Just drop this in your .irbrc
@budu I was excited.... But the thing that really bothers me with irc is the color of the dropdown that happens when it wants to give me choices. Your code isn't fixing thta for me.
@Pitosalas Here's what I get with that code, black/red bg colors for the dropdown. Also tested with Ruby 3.1.
@Pitosalas It's basically just overriding two attributes in a Struct hardcoded here: https://github.com/ruby/reline/blob/master/lib/reline.rb#L260
reline/reline.rb at master · ruby/reline

The compatible library with the API of Ruby's stdlib 'readline' - reline/reline.rb at master · ruby/reline

GitHub
@budu for reasons I am trying tofigure out .irbc is not getting invoked. So...