Y
Hacker News
new
|
ask
|
show
|
jobs
by
MisterTea
259 days ago
You don't need cat:
highlight --force -O xterm256 < whatever | less -SRNI
1 comments
dicytea
259 days ago
Sadly does not work on fish because the developers does not believe that users are intelligent enough to understand the obvious and intuitive outcome of flipping ">" (a valid operator in fish).
link
em-bee
259 days ago
you don't need "<" either. highlight takes a filename as argument just like cat or bat
link
MisterTea
258 days ago
I actually never used highlight so that is ignorance on my part.
link