Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
show 2 more comments

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.