A shell function that adds color to Ruby documentation.
- Clone
- Source into your shell:
source riz.rb
- Ruby.
- ri: Ruby Information is a command-line utility for accessing Ruby documentation. It should be available on any system with Ruby installed.
- bat - A cat clone with wings
Tested only on macOS (Tahoe 26.3).
Porting to Linux would probably require minimal effort.