General usage questions

Ben Finney bignose+hates-spam at benfinney.id.au
Sat May 10 02:48:21 BST 2008


John Arbash Meinel <john at arbash-meinel.com> writes:

> Russ Brown wrote:
> > Is there a way to configure bzr diff to always pipe its output
> > through colordiff? Some way to get it to pipe that through less
> > (git-style) would be nice too.
> 
> I don't know about pager options. Though I think there was a 'less
> log' plugin, or something along those lines.

'less' accepts a '-r' option, allowing raw bytes to be sent to the
terminal, which means the colour commands will make it through
unchanged. Hence::

    $ bzr cdiff | less -r




More information about the bazaar mailing list