Skip to content

Commit dfd3711

Browse files
committed
Menu changes in EasyKey.git
1 parent 4a92254 commit dfd3711

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

EasyKey.git/ezk-git-atsu.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,10 +73,11 @@ function openLocalConfig () {
7373
}
7474

7575
function defineMergeTool () {
76-
echo "Enter merge tool name (the command how you call it in the shell):"
76+
echo "Enter merge tool name (e.g. vimdiff):"
7777
read editor
7878
[ "${editor}" = "" ] && waitonexit && return
7979
git config --global merge.tool $editor
80+
git config --global diff.tool $editor
8081
}
8182

8283
function adminAliases() {
@@ -116,7 +117,7 @@ submenuHead "Configure repositories:"
116117
menuItem e "Define the author name and email to be used for all commits" defineAuthor
117118
menuItem f "Administering aliases" adminAliases
118119
menuItem g "Define the text editor used by commands" textEditor
119-
menuItem h "Define merge tool" defineMergeTool
120+
menuItem h "Define merge/diff tool" defineMergeTool
120121
menuItem i "Open global config" openGlobalConfig
121122
menuItem j "Open system config" openSystemConfig
122123
menuItem k "Open local config" openLocalConfig

0 commit comments

Comments
 (0)