Centos 6 に colordiff インストールしたメモ

· 1 min
$ wget http://dl.fedoraproject.org/pub/epel/5/x86_64/colordiff-1.0.6a-2.el5.noarch.rpm
$ rpm -Uvh colordiff-1.0.6a-2.el5.noarch.rpm
$ diff hoge.txt fuga.txt

normar diff

$ colordiff hoge.txt fuga.txt

color diff

banner=no
color_patches=no
plain=off
newtext=green
oldtext=cyan
diffstuff=yellow
cvsstuff=white
alias diff='colordiff'
[helpers]
diff-cmd = colordiff


Shota Senga

@__senta

Software Developer who enjoys beer 🍻 and music 🎧