From 5a4159cd29ab9dfa31e7747dd676f3cf0e19bf81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Mon, 6 Sep 2021 13:25:35 +0200 Subject: [PATCH] fix(git)!: rename `git mergetool` aliases to `gmtl*` (#9154) BREAKING CHANGE: the `gmt` alias conflicts with the Generic Mapping Tools command. For that, the `gmt` alias has been renamed to `gmtl`, and `gmtvim` has been renamed to `gmtlvim` for consistency. Fixes #9154 --- plugins/git/README.md | 4 ++-- plugins/git/git.plugin.zsh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/git/README.md b/plugins/git/README.md index 13571c82..64c50734 100644 --- a/plugins/git/README.md +++ b/plugins/git/README.md @@ -108,8 +108,8 @@ plugins=(... git) | glp | git log --pretty=\ | | gm | git merge | | gmom | git merge origin/$(git_main_branch) | -| gmt | git mergetool --no-prompt | -| gmtvim | git mergetool --no-prompt --tool=vimdiff | +| gmtl | git mergetool --no-prompt | +| gmtlvim | git mergetool --no-prompt --tool=vimdiff | | gmum | git merge upstream/$(git_main_branch) | | gma | git merge --abort | | gp | git push | diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh index 03769ed0..d030d280 100644 --- a/plugins/git/git.plugin.zsh +++ b/plugins/git/git.plugin.zsh @@ -221,8 +221,8 @@ alias glp="_git_log_prettily" alias gm='git merge' alias gmom='git merge origin/$(git_main_branch)' -alias gmt='git mergetool --no-prompt' -alias gmtvim='git mergetool --no-prompt --tool=vimdiff' +alias gmtl='git mergetool --no-prompt' +alias gmtlvim='git mergetool --no-prompt --tool=vimdiff' alias gmum='git merge upstream/$(git_main_branch)' alias gma='git merge --abort'