Colourised dispatch-conf process

November 23, 2008 · Posted in Gentoo · Comment 

Ah , nice, blogging on Sunday morning…

Here is a cool tip published on Gentoo Monthly Newsletter

All of us use dispatch-conf when the time comes to update our configuration files. Its kinda hazy however this black and white theme. What about some colors?

Sure, try to emerge app-misc/colordiff

Then go to

/etc/dispatch-conf.conf 

And change the line

diff=”diff -Nu ‘%s’ ‘%s’ | less –no-init –QUIT-AT-EOF”

to

diff=”colordiff -Nu ‘%s’ ‘%s’ | less –no-init –QUIT-AT-EOF”

Thats it. The very next time you will run dispatch-conf you will encounter a nice colourised display :). Happy patching

GreekBloggers.com
Patras Wireless Metropolitan Network
Planet Hellug
iloog
forum hellug