I use colordiff[1] to colorize output to the console.  It allows you
to customize the output to your liking via a configuration file.
Example usage would be:

  $ fossil diff | colordiff

I also recommend the use of a terminal multiplexer program such as
GNU Screen or tmux.  That way you can scroll through the output and
admire how pretty the diff looks ;)

On Tue, 26 Apr 2016 at 1:33am, Roy Marples wrote:

> I'm not a fan of ANSI escape codes either, but I do enjoy coloured
> output on the console. Fight now I cope out and diff to a file and edit
> in in vim for my colourised view, but I'd rather just pipe to a pager on
> the console directly.
>
> Roy

Footnotes:
[1]  http://www.colordiff.org/

-- 
Christopher M. Fuhrman
cfuhr...@pobox.com


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to