how to force colour output with a pager ?
Author: simonmichaelCreated May 18, 2024Updated Jun 19, 2025
Labelsbug
I love pastel, thanks!
Output is often long and I'd like to view it in a pager. I think pastel disables colour output when stdout is non-interactive. How can I force it not to ? I tried eg TERM=xterm-256color COLOR=always pastel -f list | less -R
Source: sharkdp/pastel