I managed to make this work by using
zrun source-highlight ...
in .lessfilter.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Peter,
I think your email may have ended up in my spam box and so I haven't seen it
until now. Sorry about that.
It looks like .lessfilter is lesspipe specific and only works on files lesspipe
doesn't deal with, so while your solution highlights x.html and decompresses
x.html.gz, it doesn't
On tor, 2009-12-17 at 14:10 +1100, Jayen wrote:
Either it can't be done, or it's not well documented, but I want to be able
to colorize the output of lesspipe/lessfile.
The closest attempts I could get were:
1)
setenv LESSOPEN | /bin/lesspipe %s | source-highlight --failsafe -s html -f
Package: source-highlight
Version: 3.1-2
Severity: wishlist
Either it can't be done, or it's not well documented, but I want to be able to
colorize the output of lesspipe/lessfile.
The closest attempts I could get were:
1)
setenv LESSOPEN | /bin/lesspipe %s | source-highlight --failsafe -s html
4 matches
Mail list logo