tetris11@lemmy.mlcake to Linux@lemmy.ml · 17 days agoLess vs More, what's your poison?message-squaremessage-square49fedilinkarrow-up156arrow-down13
arrow-up153arrow-down1message-squareLess vs More, what's your poison?tetris11@lemmy.mlcake to Linux@lemmy.ml · 17 days agomessage-square49fedilink
minus-squareMonkderVierte@lemmy.mllinkfedilinkarrow-up8·16 days agoLESSOPEN='| highlight --line-numbers -qs candy --out-format=xterm256 --stdout -i %s'
minus-squareMonkderVierte@lemmy.mllinkfedilinkarrow-up3·edit-216 days agoSys env. It adds syntax highlighting to less. Needs the highlight tool of course, there are others.
minus-squaretetris11@lemmy.mlcakeOPlinkfedilinkarrow-up2·edit-216 days agooh, it literally pipes into another tool! I thought that vertical bar was a config option for less lmao
minus-squareMonkderVierte@lemmy.mllinkfedilinkarrow-up2·16 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.