lolcat: jaseg C build now active at /usr/local/bin (ahead of busyloop)

This commit is contained in:
2026-06-24 09:35:35 -07:00
parent aafdc3a119
commit 13f43c3c5f
2 changed files with 10 additions and 6 deletions
+6 -4
View File
@@ -104,10 +104,12 @@ On top of stock YADR:
## Rainbow output (lolcat)
`zsh/lolcat.zsh` wires [lolcat](https://github.com/busyloop/lolcat) (Debian's
`/usr/games/lolcat`, busyloop's Ruby build) into a few shell helpers. lolcat
auto-detects a tty — it colorizes straight to the terminal but passes text
through plain when piped onward, so use `-f`/`--force` to colorize mid-pipeline.
`zsh/lolcat.zsh` wires lolcat into a few shell helpers. Works with either build:
Debian's [busyloop/lolcat](https://github.com/busyloop/lolcat) (Ruby,
`/usr/games/lolcat`) or the faster [jaseg/lolcat](https://github.com/jaseg/lolcat)
(C) when built and placed ahead on PATH (`/usr/local/bin/lolcat`). Both auto-detect
a tty — they colorize straight to the terminal but pass text through plain when
piped onward, so use `-f`/`--force` to colorize mid-pipeline.
### Opt-in, per command
+4 -2
View File
@@ -1,6 +1,8 @@
# zsh/lolcat.zsh (drunkendotfiles) — auto-sourced via ~/.zshrc: for f in ~/.yadr/zsh/*.zsh
# Rainbow-output helpers built on lolcat (Debian's "lolcat" pkg = busyloop's Ruby
# build at /usr/games/lolcat; upstream github.com/busyloop/lolcat).
# Rainbow-output helpers built on lolcat. Active build is jaseg's C lolcat at
# /usr/local/bin/lolcat (faster; built from source, ahead of Debian's busyloop
# Ruby /usr/games/lolcat on PATH). Both support -f/--force-color + tty
# auto-detect, so these helpers work with either.
# This lolcat is truecolor and auto-detects a tty: it colorizes when writing
# straight to the terminal, but passes text through UNcolored when piped onward,
# so use -f/--force to colorize in the middle of a pipeline.