Created
February 16, 2022 12:26
-
-
Save tompng/1f86c35e4b3b1056e1dea40f3d268e85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .irbrc | |
Reline.core.add_dialog_proc( | |
:autocomplete, | |
->{ | |
instance_exec(&Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE).tap { | |
_1&.bg_color = rand(40..47) | |
} | |
}, | |
Reline::DEFAULT_DIALOG_CONTEXT | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. Auto complete is bonkers and this helped.