@[email protected] to [email protected] • 15 days agoLess vs More, what's your poison?message-square49fedilinkarrow-up154arrow-down13
arrow-up151arrow-down1message-squareLess vs More, what's your poison?@[email protected] to [email protected] • 15 days agomessage-square49fedilink
minus-square@[email protected]linkfedilink10•14 days agoLESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'
minus-square@[email protected]linkfedilink4•edit-214 days agoSys env. It adds syntax highlighting to less. Needs the highlight tool of course, there are others.
minus-square@[email protected]OPlinkfedilink2•edit-214 days agooh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao
minus-square@[email protected]linkfedilink2•14 days agoYeah, less is weird there with needing the pipe.
LESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'
is that an alias or a sys env?
Sys env. It adds syntax highlighting to less. Needs the
highlight
tool of course, there are others.oh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao
Yeah, less is weird there with needing the pipe.