Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want Unison to show the diffs with colordiff.

I’ve got diff = colordiff -u CURRENT2 CURRENT1 | less -R in my config file but it seems like Unison pipes the output to plain less nonetheless, so I get raw escape sequences instead.

share|improve this question
Can you change to any other diff utility via the Unison config? – N.N. Feb 26 '13 at 12:53
diff = colordiff -u CURRENT2 CURRENT1 | less -R … Which, as the root of the problem, doesn’t work. – Profpatsch Feb 26 '13 at 14:51
I am asking whether you are successful in configuring Unison to use any other diff utility than diff = colordiff -u CURRENT2 CURRENT1 | less -R, e.g. meld, in trying to help you troubleshoot the problem. – N.N. Feb 26 '13 at 15:22
Meld works like a charm, but is a little over-the-top for the job. – Profpatsch Feb 27 '13 at 8:40
What happens if you skip the pipe to less, e.g. if you only specify colordiff to Unison? – N.N. Feb 27 '13 at 9:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.