How to use colordiff with etc-update in Gentoo
December 2, 2019
If you’re using Gentoo you’re probably annoyed with how hard it is to find the relevant part of the diff
-output from etc-update
.
This is how the default output looks like:
And this is what it can look like if you replace diff
with colordiff
:
First make sure that you have the package app-misc/colordiff
installed and then replace the following line in the file /etc/etc-update.conf
:
diff_command="diff -uN %file1 %file2"
With this line:
diff_command="colordiff -uN %file1 %file2"
And you’re done.