diff --git a/README.md b/README.md index e499214f..04128d9c 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/zsh/lolcat.zsh b/zsh/lolcat.zsh index 88a8d269..8208668d 100644 --- a/zsh/lolcat.zsh +++ b/zsh/lolcat.zsh @@ -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.