From f607063e49984bfd5286001699ff101f0bf3663b Mon Sep 17 00:00:00 2001
From: Luke Shumaker <LukeShu@sbcglobal.net>
Date: Mon, 12 Nov 2012 17:05:37 -0500
Subject: libretools.conf: autodetect DIFFTOOL

---
 src/libretools.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/libretools.conf b/src/libretools.conf
index e62dd90..75d47fe 100644
--- a/src/libretools.conf
+++ b/src/libretools.conf
@@ -2,7 +2,7 @@
 BLACKLIST=http://repo.parabolagnulinux.org/docs/blacklist.txt
 
 # Diff tool (vimdiff, gvimdiff, meld, etc)
-DIFFTOOL=vimdiff
+DIFFTOOL=`which vimdiff gvimdiff meld colordiff 2>/dev/null|sed 's/\s.*//'`
 
 # The dir where you work on
 WORKDIR=/home/$USER/packages
-- 
cgit v1.2.3-2-g168b