Skip to content

Commit 74b691d

Browse files
committed
mergetool-lib: give kdiff3 priority in KDE environments
Signed-off-by: Marco Trevisan (Treviño) <mail@3v1n0.net>
1 parent 5960a1c commit 74b691d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-mergetool--lib.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ list_merge_tool_candidates () {
289289
if is_desktop "GNOME" || if test -n "$GNOME_DESKTOP_SESSION_ID"
290290
then
291291
tools="meld opendiff kdiff3 tkdiff xxdiff $tools"
292+
elif is_desktop "KDE"
293+
then
294+
tools="kdiff3 opendiff tkdiff xxdiff meld $tools"
292295
else
293296
tools="opendiff kdiff3 tkdiff xxdiff meld $tools"
294297
fi

0 commit comments

Comments
 (0)